Comments (6)
Yes, this will be cli only, at least initially. It will import from filenames that match /(.+_)?test\.ts$/
but could later take a glob as an arg. It also will --grep on test name if passed (only run matching tests). More features could be added in the future...
from deno_std.
FYI I'm working on it
from deno_std.
An inbuilt test runner is not a bad idea. But at this stage I probably wouldn't write / consume any config files. That seems a second-order priority to getting parallelisation and file watching going. Besides, convention > configuration.
from deno_std.
I have an implementation for this, but am waiting on import()
to be supported in deno.
(It was in ~0.2.8 and the test runner was working.)
Note: After #192 walking is easy, and if we wanted to support glob as a cli we could move https://github.com/hayd/deno-globrex over to std (or port something else).
from deno_std.
Besides, convention > configuration.
Especially while Deno is still new and itβs possible to get everyone to follow the convention.
from deno_std.
I also agree that convention > configuration, so I'll support you in following the _test
suffix.
from deno_std.
Related Issues (20)
- suggestion: add hexdump format for `ArrayBuffer` HOT 11
- suggestion: add guide on how to use the Standard Library in the browser HOT 1
- Change publish workflow to use canary HOT 1
- todo: split `toml/test.ts` into separate files HOT 2
- [http/file_server] Show local network IP HOT 4
- The Road to Stabilizing the Standard Library HOT 2
- todo: create test for `std/http/file-server` HOT 1
- `csv/parse_test.ts` has type errors, but they are not caught in CI HOT 1
- Add a lazy method
- `it.ignore` and friends not type checking correctly when consumed from jsr.io HOT 2
- proposal: stabilize `std/bytes`
- [testing/bdd] async `describe`
- todo: document migration guides for deprecated APIs
- suggestion: deprecate `std/collections` APIs in favour of new `Set` methods
- proposal: stabilize `std/collections`
- chore: improve the output of `_tools/check_circular_package_dependencies.ts`
- `jsr:@std/http/file-server` stucks the compiled programs. HOT 3
- `expect().toContain()` error message doesn't show expected string
- proposal: publish release candidate before stabilization HOT 1
- Unnecessary JSR Exports Across Packages HOT 2
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 deno_std.