Skip to content
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 more tests and integration tests #173

Closed
yegor256 opened this issue Jan 11, 2021 · 13 comments
Closed

add more tests and integration tests #173

yegor256 opened this issue Jan 11, 2021 · 13 comments

Comments

@yegor256
Copy link
Member

let's add more unit and integration tests and make sure they work with the current version of EO-to-Java compiler

yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 11, 2021
yegor256 added a commit that referenced this issue Jan 12, 2021
yegor256 added a commit that referenced this issue Jan 13, 2021
yegor256 added a commit that referenced this issue Jan 13, 2021
yegor256 added a commit that referenced this issue Jan 13, 2021
yegor256 added a commit that referenced this issue Jan 13, 2021
@yegor256 yegor256 mentioned this issue Jan 13, 2021
yegor256 added a commit that referenced this issue Jan 13, 2021
@yegor256
Copy link
Member Author

@rultor release, tag is 0.1.8

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.8

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.8

@yegor256 Done! FYI, the full log is here (took me 10min)

@0crat
Copy link

0crat commented Jan 13, 2021

Job gh:yegor256/eo#173 is not assigned, can't get performer

@yegor256
Copy link
Member Author

@rultor release, tag is 0.1.9

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.9

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.9

@yegor256 Oops, I failed. You can see the full log here (spent 2min)

         time="2021-01-13T09:19:24.657Z"
         version="0.1.9">
   <listing>[args] &gt; main
  (stdout "Hello!").print
&lt;EOF&gt;</listing>
   <errors/>
   <objects>
      <o line="1" name="main">
         <o line="1" name="args"/>
         <o base="stdout" line="2">
            <o base="string" data="string" line="2">Hello!</o>
         </o>
         <o base=".print" line="2" method=""/>
      </o>
   </objects>
</program>

[\u001b[2;37mDEBUG\u001b[m] org.eolang.parser.Syntax: Input of 2 EO lines compiled
[\u001b[0;37mINFO\u001b[m] org.eolang.maven.ParseMojo: /tmp/eo822374391711712662/src/main.eo parsed to /tmp/eo822374391711712662/target/eo/parse/main.eo.xml
[\u001b[1;34mINFO\u001b[m] \u001b[1;32mTests run: \u001b[0;1;32m2\u001b[m, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.eolang.maven.\u001b[1mParseMojoTest\u001b[m
[\u001b[1;34mINFO\u001b[m] 
[\u001b[1;34mINFO\u001b[m] Results:
[\u001b[1;34mINFO\u001b[m] 
[\u001b[1;31mERROR\u001b[m] \u001b[1;31mErrors: \u001b[m
[\u001b[1;31mERROR\u001b[m] \u001b[1;31m  SnippetTest.testFullRun:72->run:150->lambda$run$1:150->javac:204 » IllegalArgument\u001b[m
[\u001b[1;31mERROR\u001b[m] \u001b[1;31m  SnippetTest.testFullRun:72->run:150->lambda$run$1:150->javac:204 » IllegalArgument\u001b[m
[\u001b[1;31mERROR\u001b[m] \u001b[1;31m  SnippetTest.testFullRun:72->run:150->lambda$run$1:150->javac:204 » IllegalArgument\u001b[m
[\u001b[1;34mINFO\u001b[m] 
[\u001b[1;31mERROR\u001b[m] \u001b[1;31mTests run: 9, Failures: 0, Errors: 3, Skipped: 1\u001b[m
[\u001b[1;34mINFO\u001b[m] 
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1mReactor Summary for eo-parent 0.1.9:\u001b[m
[\u001b[1;34mINFO\u001b[m] 
[\u001b[1;34mINFO\u001b[m] eo-parent .......................................... \u001b[1;32mSUCCESS\u001b[m [  6.505 s]
[\u001b[1;34mINFO\u001b[m] eo-parser .......................................... \u001b[1;32mSUCCESS\u001b[m [ 19.417 s]
[\u001b[1;34mINFO\u001b[m] eo-maven-plugin .................................... \u001b[1;31mFAILURE\u001b[m [ 13.524 s]
[\u001b[1;34mINFO\u001b[m] eo-archetype ....................................... \u001b[1;33mSKIPPED\u001b[m
[\u001b[1;34mINFO\u001b[m] eo-runtime ......................................... \u001b[1;33mSKIPPED\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1;31mBUILD FAILURE\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;34mINFO\u001b[m] Total time:  39.994 s
[\u001b[1;34mINFO\u001b[m] Finished at: 2021-01-13T09:19:24Z
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;31mERROR\u001b[m] Failed to execute goal \u001b[32morg.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test\u001b[m \u001b[1m(default-test)\u001b[m on project \u001b[36meo-maven-plugin\u001b[m: \u001b[1;31mThere are test failures.\u001b[m
[\u001b[1;31mERROR\u001b[m] \u001b[1;31m\u001b[m
[\u001b[1;31mERROR\u001b[m] \u001b[1;31mPlease refer to /home/r/repo/eo-maven-plugin/target/surefire-reports for the individual test results.\u001b[m
[\u001b[1;31mERROR\u001b[m] \u001b[1;31mPlease refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.\u001b[m
[\u001b[1;31mERROR\u001b[m] -> \u001b[1m[Help 1]\u001b[m
[\u001b[1;31mERROR\u001b[m] 
[\u001b[1;31mERROR\u001b[m] To see the full stack trace of the errors, re-run Maven with the \u001b[1m-e\u001b[m switch.
[\u001b[1;31mERROR\u001b[m] Re-run Maven using the \u001b[1m-X\u001b[m switch to enable full debug logging.
[\u001b[1;31mERROR\u001b[m] 
[\u001b[1;31mERROR\u001b[m] For more information about the errors and possible solutions, please read the following articles:
[\u001b[1;31mERROR\u001b[m] \u001b[1m[Help 1]\u001b[m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[\u001b[1;31mERROR\u001b[m] 
[\u001b[1;31mERROR\u001b[m] After correcting the problems, you can resume the build with the command
[\u001b[1;31mERROR\u001b[m]   \u001b[1mmvn <goals> -rf :eo-maven-plugin\u001b[m
container da99c64e0a82956ad697e600998ed08f1b603ffbcacc04e9c2ee7fcd254e8f18 is dead
Wed Jan 13 10:19:36 CET 2021

@yegor256
Copy link
Member Author

@rultor release, tag is 0.1.9

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.9

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.9

@yegor256 Done! FYI, the full log is here (took me 8min)

@yegor256
Copy link
Member Author

@rultor release, tag is 0.1.10

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.10

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 13, 2021

@rultor release, tag is 0.1.10

@yegor256 Done! FYI, the full log is here (took me 11min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants