-
Notifications
You must be signed in to change notification settings - Fork 33
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
Frame tests for xeus-cpp-lite's example notebook #259
Comments
Hi, So we have an example notebook that it a demonstration of everything that runs through xeus-cpp-lite (https://compiler-research.org/xeus-cpp/lab/index.html) We need a way to test the same through our CI. |
Viable options
cc @tharun571 would you be interested to work on this ? As might end up having quite some relevance to what you did ! |
I'll leave the option 2/3 for Tharun to explore as there might be some overlap. But for starters what we can do is maybe replicate the UI tests that jupyterlite-xeus is running (currently for xeus-python)
we can just copy the whole ui-tests folder and use it where we want, replacing the xeus-python test with what we want. cc @kr-2003 Would you like experimenting with this line of approach ! For now we should be able to get a simple |
We have the approach of CppInterOp where we still wait for your input. |
Hmmm, these are more UI based approaches, possibly suited for dealing with notebooks. So if any changes are made to the example notebook, we know what to expect. On top of that looks more easy to get going than the cppinterop based test just yet.
Anyways, I shall keep doing some reviews on cppinterop throughout the week so yeah that shall be done. I still opened up this issue to see if these approaches have any potential. |
@anutosh491 @vgvassilev I will take this up. Will be a nice warm up to get back into contributing :) |
@anutosh491 I’ve implemented UI testing with Attached is the video recorded as part of the test results. video.webm |
Now we need to make sure it can run in the ci. |
Nice work playing around with the implementation. As said above, see how this can be made part of the CI. Check out how jupyterlite-xeus is doing the same for xeus-python and we can probably implement it here.
Hmmm, i thought it was about comparing screenshots of the results. Can we verify videos too ? |
It verifies screenshots only. I just uploaded the video for to let us know about the process that is happening in background while testing. |
Perfect. Now try adding some CI for the same on your local repo if that works well. And then once we are confident we can shift this upstream |
Originally posted by @vgvassilev in #258 (review)
The text was updated successfully, but these errors were encountered: