Comments (8)
I started to look on this, but I have to admit I do not understand how the test suite calls the reporters. Any hint, @sspeiche and @spadgett?
from ldp-testsuite.
@wikier LdpTestSuite.setupSuite() adds them as listeners, and TestNG calls them after the suite runs.
http://testng.org/javadoc/org/testng/IReporter.html
from ldp-testsuite.
@wikier they are also explicitly listed in the testng.xml config file as listeners
from ldp-testsuite.
I got that. That's what I tried to do on the patch you can see at the topic branch for this issue.
But the problem I do not know who/how calls LdpTestCaseReporter.main()
, because line 148 currently makes this not configurable.
from ldp-testsuite.
That one you run manually from the command line :)
There's a Maven test-manifest profile that will run it during the build also (see pom.xml), but it's off by default.
from ldp-testsuite.
I'm mainly thinking about a scenario where the test suite runs embedded, as we do in marmotta, where I'd like to have more control where the tests write.
I'll continue checking what's possible, and let's see. Thanks, @spadgett.
from ldp-testsuite.
OK, now it looks much better :-)
I'll some some more testing before getting it out as 0.1.1
.
from ldp-testsuite.
I consider this implemented, enough for the scenario we need in Marmotta.
from ldp-testsuite.
Related Issues (20)
- Mark test DirectContainer-ActAsIfInsertedContentRelationTripleExists as approved per 20-Oct
- Provide IndirectContainer tests HOT 3
- Remove test case entry for client test case on server-initiated paging HOT 1
- Client testing HOT 2
- Allow LDP Servers to include charset parameter in JSON-LD media type HOT 1
- Publish contribution hints and code formatting info
- TR publication HOT 2
- Add simple setup / run instructions HOT 4
- Many tests fail with NullPointerError if a representation is an empty graph HOT 1
- Suite `testRestrictUriReUseSlug` fails if the server DOES NOT create second resource
- Strange results in test testActAsIfInsertedContentRelationTripleExists HOT 1
- Upgrading Jena to 3.0.1 HOT 6
- Lost with the log, hard to understand the HTTP requests being made in relation with the FAILURE messages HOT 1
- Test suite KO : Invalid signature file digest for Manifest main attributes HOT 6
- 0.1.2 Release? HOT 1
- attach-javadocs error when running `mvn package` HOT 10
- Unclear how to run only part of the suite HOT 2
- testsuite runner spontaneously tries to connect to http://localhost:8080 HOT 1
- PostContainer test seems wrong?
- gpg: no default secret key: No secret key
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 ldp-testsuite.