JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks which is collectively known as xUnit that originated with SUnit.

Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications.

How to integrate Junit test results  with QAconsole.com

1. Go to settings page and add new Environment and new Test Suite
https://demo.qaconsole.com/#/settings

2. Run your tests using ant and save Junit xml output file

3. Post result file content, projectName and environment to http://demo.qaconsole.com/testrunsJunit as example below:

<target name="send" description="Send file" >    
  <loadfile property="fileContent" srcFile="junit-results/TEST-com.qaconsole.demo.LoginTest.xml"/>
  <post to="http://demo.qaconsole.com/testrunsJunit" >
      <prop name="result" value="${fileContent}" />
      <prop name="projectName" value="${projectName}" />
      <prop name="environment" value="${environment}" />    
  </post>
</target>
                        

4. Run your tests and verify results in QAconsole.com