-
Notifications
You must be signed in to change notification settings - Fork 106
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
Integration testing Jupyter notebook support #270
Comments
Hi! Yes, it's reasonable, thanks for filing the issue. ATM you may use a whole kernel to write your tests. See related commit in dataframe: I think, there are no related examples in other places |
Thanks! It seems to be working locally, although for some reason |
Please set the BP here and check if your library classes pass the test: |
I can confirm that the library classes pass through the filter and are included on the |
@breandan I've checked your setup in kotlingrad, and it seems that @Test
fun `circuit is rendered to html`() {
initRepl()
@Language("kts")
val html = execHtml(
"""
val x by SVar(DReal)
val y by SVar(DReal)
val z by SVar(DReal)
val t = (1 + x * 2 - 3 + y + z / y).d(y).d(x) + z / y * 3 - 2; t
""".trimIndent()
)
html shouldContain "polygon"
} |
@breandan I found that it's because you use Before from another version of JUnit) I've fixed your test in this PR: |
@breandan regarding your commit in kaliningraph - have you checked that |
By the way, thank you a lot for trying this ugly scheme, it will help me when I will add support for testing to Gradle plugin. |
See example of switching to the new testing kit in this commit: |
Does the Gradle plugin provide a way to mock a Jupyter notebook? If not, it would be convenient to provide a way for libraries to integration test their Jupyter notebook support on some sample notebooks. I could not find any examples of this on GitHub.
The text was updated successfully, but these errors were encountered: