Comments (9)
Dart currently uses a package called test that is the most popular framework for testing.
It comes with a configuration file called dart_test.yaml. Which would allow us customization over the testing process. I don't know if it will allow us control over the order of tests, though.
from dart.
I don't know if it will allow us control over the order of tests, though.
Yeah, most testing packages I've seen won't let you (and for good reason, mostly it's a terrible idea). It looks like the package lets you skip tests (https://github.com/dart-lang/test#skipping-tests) so this seems like a great choice.
from dart.
@kytrinyx and @SuperPaintman I haven't done anything with the Travis config file. Do either of you think it is ready? If not, what's missing?
from dart.
Right now it doesn't look like Travis is running the exercise test suites against their reference solutions. I think that's pretty key.
I've written up some thoughts about CI here: https://github.com/exercism/docs/blob/master/language-tracks/launch/tooling-and-ci.md
from dart.
Okay, so we want travis to run the example.dart files (reference solution) for each exercise... how do we do that without changing the file in the test suite that's referenced?
from dart.
@Stargator did you read the doc I linked to? The suggestion there is to write a script that copies everything to a tmp directory, and then changing the test suite so that it doesn't have skips, and renaming the reference solution so that it's whatever the test suite is expecting.
from dart.
Okay, I'll create an issue for that. But I don't think it should be labelled "good-first-patch" And I'll state it's due to the complex nature of copying a directory and making changes to a file.
from dart.
Agreed—that would not make a good first patch.
from dart.
Closing this as #34 will address the last steps for CI.
from dart.
Related Issues (20)
- Add or Update existing GitHub Action to check for bad links HOT 7
- Should the template for "Isbn Verifier" have a class? HOT 1
- Replace all dartlang.org links with dart.dev
- Does ABOUT.md Need a Mention of Flutter? HOT 3
- Configure Online Editor Task Complete
- Make Test Driven Development More Prominent in Exercise Instructions HOT 4
- Dart tests are default on skip:true HOT 1
- Structure of test files for generated exercises? HOT 12
- How to best run tests locally on just the exercise being worked on? HOT 5
- Question about initialization in test suites HOT 6
- dart fix is removing import in test suite HOT 5
- [CI] Re-enable link checker HOT 11
- Drop use of types for variables when not necessary HOT 1
- Armstrong Numbers: do we want to add BigInt? HOT 3
- Syntax question -- lists, and types and lists of lists HOT 2
- Why is skip true for all the tests? HOT 2
- Gigasecond method name could be changed HOT 2
- Wide right section cause layout issues HOT 2
- Deprecate `beer song`? HOT 1
- I noticed all the testcases except first one are marked for skip. Any reasons ? 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 dart.