-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
message
tests can be migrated from python to JS
#47707
Comments
@RafaelGSS is this a good candidate for Grace Hopper Open Source Day? |
I would like to work on this if is available. |
@projectnoa no need to ask, this is an issue that many people can work on since there are many tests under |
Yes. Please follow the example of #47498, and branch off of that PR’s branch so you get the new helpers that it adds. You might also want to add a comment on this thread letting others know which tests you plan to migrate, so that no one else works on the same ones while you do, duplicating effort. |
Great! I'll dig into the project and mention what I'll tackle tomorrow. |
Tests I will be working on: |
@projectnoa we try to avoid cookie licking, so if you have a ready PR just open one or multiple PRs |
@MoLow I would love to help too |
@mertcanaltin go for it! |
Apologies @MoLow, you were right. I didn't do my due diligence and jumped into the task without understanding the challenge ahead. I still want to do the work and contribute but I need to ask some questions. To my understanding, there's a set of unit tests in Python that need to be migrated to JS. I'm having trouble finding the Python tests. Can someone point me in the right direction? These tests will be residing in the test/message directory, correct? Are the message tests targeting a specific module or feature? What are the .out files in this directory? Also, the tests files I announced that I would work on are not the target of this operation. I should have paid attention a notice that they were tests already migrated. Apologies about that. I will instead focus on understanding the test workflow and see how I can start migrating a few tests. I was able to compile and run all current tests successfully, so I'm ready to work as soon as I can understand the test better. Thanks! |
@projectnoa Once you’ve checked out the tools/test.py -J --mode=release message To run all the These aren’t tests written in Python; they’re tests that are run by the Python script We don’t want to have all this logic in Python, so we’ve been migrating the |
Pull request created. Apologies for the delay. I appreciate your input and observations. |
Hello, can I try working on this issue if it is available? I am very new to Open Source, so I would like to learn via this good-first-issue. |
Hello @MoLow, thank you for responding. I have gone through the messages above and also the issue you have mentioned (#47498), please guide me and let me know if my understanding of the issue is correct? According to my understanding, you have written the |
@NiharPhansalkar, you are missing one detail, but you understood the essence of the change. |
the snapshots are written by |
@MoLow I am sorry if I am asking too many questions. From all the PRs I can see, I can see nothing written by anyone in the |
it's ok :) |
@MoLow Thank you, will take a look into it! |
@MoLow Can I start with the following? (I don't want to start doing something wrong) I will move the entire After this step is complete, I will then write a test in Am I correct? (Btw, I have not elaborated on the |
Hello @MoLow, @NiharPhansalkar, I'm still willing and working on completing this contribution. Can we collaborate to close it together? |
@projectnoa Sure! I would love to collaborate on it! |
Sure, I'll email you some options to connect. |
@MoLow
|
@MoLow @GeoffreyBooth
|
I will finish my part recently.
|
I submitted a new PR. I'm still working on correcting my previous PR for
|
Are there still tests that need to be migrated? |
Probably. Look for any |
Awesome thank you @GeoffreyBooth! |
PR |
Migrate the remaining source map tests in the `test/message` folder from Python to JS. Fixes: nodejs#47707 test: migrate message source map tests from Python to JS PR-URL: nodejs#49238 Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Migrate the remaining error tests in the `test/message` folder from Python to JS. Fixes: nodejs#47707 PR-URL: nodejs#49721 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
PR-URL: nodejs#50421 Fixes: nodejs#47707 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Migrated messages v8 tests from Python to JavaScript. This change is part of an effort to enhance maintainability and consistency in the test suite. All relevant test files and dependencies have been updated accordingly. Refs: nodejs#47707
Migrated messages v8 tests from Python to JavaScript. This change is part of an effort to enhance maintainability and consistency in the test suite. All relevant test files and dependencies have been updated accordingly. Refs: nodejs#47707
Migrated messages v8 tests from Python to JavaScript. This change is part of an effort to enhance maintainability and consistency in the test suite. All relevant test files and dependencies have been updated accordingly. Refs: nodejs#47707
Migrated messages v8 tests from Python to JavaScript. This change is part of an effort to enhance maintainability and consistency in the test suite. All relevant test files and dependencies have been updated accordingly. Refs: nodejs#47707
Migrate the remaining source map tests in the `test/message` folder from Python to JS. Fixes: nodejs/node#47707 test: migrate message source map tests from Python to JS PR-URL: nodejs/node#49238 Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Migrate the remaining source map tests in the `test/message` folder from Python to JS. Fixes: nodejs/node#47707 test: migrate message source map tests from Python to JS PR-URL: nodejs/node#49238 Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
See #47498 for an example of such a migration
pseudo-tty
tests can migrate as well, but that will require some more work using something like https://github.com/microsoft/node-pty or similarThe text was updated successfully, but these errors were encountered: