We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Thanks for this great project!
It seems there is an issue with the JUnit target (aka /test) when a package declaration is present.
/test
Given the following working use-case:
import org.junit.Assert import org.junit.Test class TestStart { @Test fun testOk() { Assert.assertEquals("OK", "OK") } }
The output is:
Passed: testOk
{ "args": "", "files": [ { "name": "File.kt", "text": "import org.junit.Assert\nimport org.junit.Test\n\nclass TestStart {\n @Test fun testOk() {\n Assert.assertEquals(\"OK\", \"OK\")\n }\n}", "publicId": "" } ] }
{ "testResults": { "TestStart": [ { "output": "", "className": "TestStart", "methodName": "testOk", "executionTime": 1, "exception": null, "comparisonFailure": null, "status": "OK" } ] }, "errors": { "File.kt": [] } }
Now if we just add a package declaration (for example package anything.there:
package anything.there
package anything.there import org.junit.Assert import org.junit.Test class TestStart { @Test fun testOk() { Assert.assertEquals("OK", "OK") } }
The output is empty:
{ "args": "", "files": [ { "name": "File.kt", "text": "package anything.there\n\nimport org.junit.Assert\nimport org.junit.Test\n\nclass TestStart {\n @Test fun testOk() {\n Assert.assertEquals(\"OK\", \"OK\")\n }\n}", "publicId": "" } ] }
{"errors":{"File.kt":[]}}
It seems to be working fine with a simple JVM target execution, but not with the JUnit target...
Is there anything known about this bug?
The text was updated successfully, but these errors were encountered:
Hey, thanks for report the issue. Should have a look :)
Sorry, something went wrong.
No branches or pull requests
Hello,
Thanks for this great project!
It seems there is an issue with the JUnit target (aka
/test
) when a package declaration is present.Simple working use-case
Given the following working use-case:
The output is:
Request payload
Response body
Same use-case with package declaration
Now if we just add a package declaration (for example
package anything.there
:The output is empty:
Request payload
Response body
It seems to be working fine with a simple JVM target execution, but not with the JUnit target...
Is there anything known about this bug?
The text was updated successfully, but these errors were encountered: