Comments (5)
Thanks for the detailed issue, I've updated the documentation & will release 2.0.1
to address the missing dependency issue.
EDIT:
2.0.1
has been published and should be available shortly, do let me know if the issue persists.
from elementary.
OK, good news; I'm making progress. It turns out there is a separate documentation page indicating that I must configure my project to copy all the unit test source files to the test-classes
target (output) directory so that Elementary can find them.
I understand why Elementary requires this, but it wasn't clear from the documentation that this step was required. (A new user doesn't automatically know the mechanism Elementary uses to find and compile the source code.)
As noted in #295, it will break unless Utilitary is added as a dependency. (As I mentioned elsewhere it's unclear to me why Elementary doesn't include this dependency transitively already.)
I would recommend that as part of the documentation you have a "getting started" section that provides a list of everything needed to use Elementary, including:
- adding the additional JUnit dependency (#293)
- including Utilitary (#295), and
- updating the project to copy source files.
The current home page and the tour make it seem like I can just add a dependency to JUnit and to Utilitary and I'm good to go, but as this ticket shows, further steps need to be performed.
from elementary.
I have this working for my initial use case, and so far it is very nice and does just what I needed! Thus I think the issue here is simply insufficient and misleading documentation.
from elementary.
Thanks for being attentive to my feedback and for quickly making changes. I've tried out the new v2.0.1 and it seems to be working well. I've just started using the library, but so far it seems to bring exactly what I needed to my unit tests. This will be really helpful.
from elementary.
Forgot to close this issue, whoops.
from elementary.
Related Issues (17)
- Your .dependabot/config.yml contained invalid details HOT 1
- [BUG] Repo missing in elementary/README.md HOT 9
- [FEATURE REQUEST] Rename @Case to something better HOT 36
- [BUG] Cannot use source with intentional compile errors for ToolsExtension HOT 10
- [FEATURE REQUEST] First-class module support in JUnit extensions HOT 7
- [BUG] `MemoryFileManager ` does not handle modules correctly
- [FEATURE REQUEST] Better support for parameterized tests HOT 1
- [BUG] Modules don't compile HOT 1
- Deploy artifacts to maven central HOT 12
- Dependency Dashboard
- [FEATURE REQUEST] Auto-format pull requests
- [FEATURE REQUEST] Primitives for Module support HOT 7
- [BUG] com.karuslabs:satisfactory 1.1.3 is not available HOT 2
- Requires `org.junit.jupiter:junit-jupiter-params`.
- Documentation examples require Utilitary. HOT 1
- Missing page "Why java 11?" 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 elementary.