Comments (4)
@vakenbolt @afbjorklund Looking for your thoughts?
from go-test-report.
Sounds good to me, but I don't know how different the JSON format is - if it's a whole new parser, or just some tweaks?
i.e. if it would be a similar tool, or if it would be a flag to this tool
EDIT: The output of https://github.com/onsi/ginkgo looks very different
from go-test-report.
@afbjorklund thanks for the response!
Yeah the JSON output is very different. Its unique to ginkgo. But the way I'm thinking about it from a design perspective is creating a new parser that can encapsulate transforming ginkgo JSON and return the required templateData
, testStatus
, testdetailsBypaxkage
objects that can then be passed to the generateReport
function to generate the report.
The other difference is that I would add add a new flag to parse input from a file. Since ginkgo doesn't stream the JSON to std.out
Then potentially exposing that as a separate subcommands like go-test-report ginkgo
I have a rough POC locally that I can push up to my fork soon for you to get eyes on it
from go-test-report.
It seems that this project is abandoned, and I would probably rather have it do one thing (go test
) well...
But if it can be isolated cleanly, then maybe?
from go-test-report.
Related Issues (20)
- Search and jump directly to a particular test
- Allow duplicated test names in different packages HOT 1
- Need (optional) parameter for test duration
- Possibility to add links to additional pages
- Speeding up execution time for large go projects HOT 1
- Better support for sub-tests and table-driven tests
- Kudos! I've integrated this project in my release-action
- Allow navigation of groups with keyboard arrow keys
- It did not catch an error:panic: fatal error config file: open /xxx/xxx/etc/configs/xxx.yaml: no such file or directory
- Suggestion: Export to Markdown HOT 9
- Suggestion: Report with coverage HOT 1
- Bug: Exit status 1 when generating Test Report for Subpackages
- Group tests by area in report HOT 3
- It would be nice if sort by tests is made as optional before generating the html report HOT 1
- Can't install the command on mac HOT 3
- Update go version and make release HOT 1
- Advocate gotestsum for running go test HOT 6
- Add support for testdox display names HOT 1
- Move project to add new features HOT 4
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 go-test-report.