Comments (5)
Hello, which data from the Courgette html report do you need to access from the Courgette runner?
You won't be able to access Courgette generated system properties via your Courgette runner because these properties are only generated during the test. However you should be able to access these properties in the tests.
from courgette-jvm.
Hello Prashant - I would need to retrieve the fields in the Run Information and Environment Information sections.
from courgette-jvm.
The fields in the run information are basically the same information you already have in your Courgette runner.
If you passing system properties or setting environment variables before the tests run then you will already have access to this using System.getProperties()
and System.getenv()
in the Courgette runner.
from courgette-jvm.
You should have access to the data using CourgetteRunInfo
class in your runner.
@CourgetteBeforeAll
public static void beforeRun() {
System.out.println("Session: " + CourgetteRunInfo.sessionId());
System.out.println("Environment info: " + CourgetteRunInfo.courgetteOptions().environmentInfo());
System.out.println("Cucumber tags: " + Arrays.toString(CourgetteRunInfo.courgetteOptions().cucumberOptions().tags()));
}
from courgette-jvm.
Thanks!. I will try this..
from courgette-jvm.
Related Issues (20)
- Not able to run Courgette class HOT 1
- Run on Appium 2 HOT 1
- How to have the status as WARNING in the Courgette Report? HOT 5
- How to embed a URL in the courgette report as URL instead of just String? HOT 2
- How to integrate courgette with docker container HOT 4
- How fix java.lang.ClassNotFoundException: Files\Git\cmd;;/ HOT 3
- Exposing Scenario hooks HOT 4
- Running on Specific Devices HOT 18
- Parallel execution is not working running test on real devices (Android or iOS), it works fine on emulator and simulator HOT 1
- With Appium version 2.x is throwing error "org.openqa.selenium.UnsupportedCommandException: Method has not yet been implemented" HOT 1
- Courgette error processing reports HOT 2
- No Courgette Report is being produced if there are no tags as specified by the user, not in the project repo though. HOT 1
- Execute Courgette having test suite in a FAT JAR HOT 10
- Unable to override cucumber tags from the maven command line HOT 5
- Maven Build is failing with this error 'java: package com.fasterxml.jackson.datatype.jdk8 does not exist' HOT 3
- Report output get only show all failed HOT 1
- Reports not generated HOT 9
- error=206, The filename or extension is too long trying to execute my project with courgette-jvm HOT 1
- Courgette report index.html is not generated properly HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from courgette-jvm.