Skip to content
/ klov Public
forked from gitter-badger/klov

Report server for Extent API. *Klovv replaces ExtentX.

License

Notifications You must be signed in to change notification settings

Shmayro/klov

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STKlov.

STKlov Installation

  1. Install MongoDB 3.2 (other versions may not work correctly) (skip if you have this already)
  2. Install Redis-Server (skip if you do not plan to use Redis, see section "Using Klov Without Redis")
  3. Run Klov:
java -jar STKlov.jar

MongoDB Settings

You can configure your MongoDB environment settings from application.properties:

# data.mongodb
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.database=st-klov

Redis settings

You can configure your Redis server settings from application.properties:

# redis, session
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.session.SessionAutoConfiguration
spring.session.store-type=redis
server.session.timeout=-1
spring.redis.host=localhost
spring.redis.port=6379

Using Klov without Redis

To use Klov without Redis, simply uncomment this line in application.properties:

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.session.SessionAutoConfiguration

Default admin

user:  root
password:  password

Setting up KlovReporter with ExtentReports API

KlovReporter klov = new KlovReporter();

// specify mongoDb connection
klov.initMongoDbConnection("localhost", 27017);

// specify project
// ! you must specify a project, other a "Default project will be used"
klov.setProjectName("Java");

// you must specify a reportName otherwise a default timestamp will be used
klov.setReportName("AppBuild");

// URL of the KLOV server
// you must specify the server URL to ensure all your runtime media is uploaded
// to the server
klov.setKlovUrl("http://localhost");

// finally, attach the reporter:
extent.attachReporter(klov);

About

Report server for Extent API. *Klovv replaces ExtentX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 35.7%
  • FreeMarker 25.0%
  • JavaScript 24.5%
  • Java 14.8%