Skip to content

Xav-aditya/example-java-TestNG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integration example TestNG+logback and TestNG+log4j2

Java stack example.

  • contains structure integration - agent. TestNG Listener
  • logging integration with LogBack
  • screenshot attachement

Download this example with:

git clone https://github.com/reportportal/example-java-TestNG-logback.git
  1. Open pom.xml and un-comment - repository - dependencies - properties - listener
  2. Open logback.xml and un-comment - appender RP - logger - binary_data_logger - appender-ref RP
  3. Update reportportal.properties file according to you profile page
  4. Navigate to folder with pom.xml
  5. call mvn clean test

Detailed documentation available here:

About

Example of integration with ReportPortal: TestNG engine and loggers logback and log2j

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 74.9%
  • HTML 12.6%
  • JavaScript 9.1%
  • CSS 1.4%
  • PHP 1.4%
  • Batchfile 0.6%