-
Notifications
You must be signed in to change notification settings - Fork 391
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
Add Robot Framework (.robot) -language support #378
Conversation
datakurre
commented
Nov 8, 2019
- document the language extension and comment by adding one line to _SCRIPT_EXTENSIONS in languages.py.
- contribute a sample notebook in tests/notebooks/ipynb_[language].
- add two tests in test_mirror.py: one for the light format, and another one for the percent format.
- Make sure that the tests pass, and that the text representations of your notebook, found in tests/notebooks/mirror/ipynb_to_script and tests/notebooks/mirror/ipynb_to_percent, are valid scripts.
Codecov Report
@@ Coverage Diff @@
## master #378 +/- ##
=========================================
- Coverage 99.05% 98.9% -0.16%
=========================================
Files 75 75
Lines 7431 7273 -158
=========================================
- Hits 7361 7193 -168
- Misses 70 80 +10
Continue to review full report at Codecov.
|
Awesome! Thank you @datakurre . By the way I see that the instructions for adding a new language were not completely up-to-date (adding test functions is not required any more), so I've fixed them. Thanks again for your contribution! |
Awesome! Thanks for polishing things up! We will bundle this with |
I am looking forward to seeing that! Just to let you know, I hope to release the next version (1.3) within one or two weeks. |
Bundled! https://github.com/robots-from-jupyter/robotlab/releases/tag/v2019.12.0 Thank you! .robot => .ipynb conversion from new .robot-file needs some work, but that probably something I knowing the robot format should contribute 😄 .robot files converted from .ipynb-notebooks work as expected. |
Awesome! Thanks for letting me know.
Tell me a bit more about the issue... Maybe we'll have to improve the format documentation? Also, did you give a try to the |
@mwouts Better late than never. Thank you.
works well enough. Unprepared .robot will become a single big cell, which is easy to split with Jupyter Notebook or Lab. And after this "initial import", light format works well. This is reasonable workflow. |
Hi @datakurre , you're welcome! And thank you for your contribution as well! Oh yes, using the |