Comments (6)
Oh, this is cool! Something I always meant to do with purescript-test-unit was to split the test runner itself off from the testing framework, so it could run any type of test without needing to know anything about the framework being used and still produce consistent and good looking output. As yours seems to produce better looking output than mine, have you considered doing something similar? That would be something I'd love to integrate into Pulp itself, but adding dependency options (and thus opinions) to pulp init isn't something I want to do.
from pulp.
That sounds interesting! I've only considered making the test runners separate (they are now, but I only have one :D), but not fully unaware of the test framework used. How do you think such an interface would look? I'm looking into adding support for running the same tests (purescript-spec) in a browser or phantomjs.
from pulp.
I don't know how it should look, but I guess it'll need an API for continuous reporting and be able to run both pure and async tests - and be so lightweight you hardly need any glue code. It's probably a bit of a hard problem, come to think of it. :)
from pulp.
Yeah, I think so as well. I'm trying to add support for async in purescript-spec now, that alone is hard! Maybe I'll cheat and look at your stuff. :)
Mvh
Oskar Wickström
22 apr 2015 kl. 00:01 skrev Bodil Stokke [email protected]:
I don't know how it should look, but I guess it'll need an API for continuous reporting and be able to run both pure and async tests - and be so lightweight you hardly need any glue code. It's probably a bit of a hard problem, come to think of it. :)
—
Reply to this email directly or view it on GitHub.
from pulp.
Sorry, I'm not very keen on this. Even if we had separate test runners and test frameworks, there are still quite a few core libraries (eg maybe
, either
, integers
) which need tests but can't really depend on any fancy test stuff without lots of packaging gymnastics, so they use purescript-assert
instead. And a test runner is still a dependency, even if it's lighter than a whole testing framework.
I think the current interface is perfect; super simple, and probably familiar to anyone who's written tests in almost any other language already.
Anyway I'm closing this just as housekeeping - please feel free to open new issues or add comments or whatever about this. :)
from pulp.
No problem, sounds reasonable to me.
from pulp.
Related Issues (20)
- Building dependencies only or first HOT 1
- is there a way to build only dependencies? HOT 1
- Allow pulp init with superuser access
- Unable to run pulp init using volta which shims purs into my path HOT 11
- Lua backend HOT 1
- psc-package asks for bower.json OR psc-package.json and then requires bower.json anyway HOT 2
- Have trouble to specify license to run `pulp version` HOT 3
- Dead link in README.md (using npm as your build tool)
- Pulp test no longer seems to work with purs 0.13.8 HOT 5
- Suggest Spago in README
- `pulp publish` doesn't support --dry-run HOT 2
- Add support for publishing to the PureScript registry
- Add support for upcoming 0.15.0 PureScript release
- Remove bower re-install code in `integration.js` HOT 1
- Determine how bundling works with PureScript v0.15.0 version HOT 2
- Versioning confusion HOT 5
- Fix the documentation on releasing packages HOT 4
- Drop the `devDependencies` check when publishing on PureScript `0.15.2` or greater
- `pulp publish` fails for large bower resolution file
- How can I get the docs generator to just generate docs for my files HOT 3
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 pulp.