Giter Club home page Giter Club logo

Comments (9)

Stargator avatar Stargator commented on August 12, 2024

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.

kytrinyx avatar kytrinyx commented on August 12, 2024

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.

Stargator avatar Stargator commented on August 12, 2024

@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.

kytrinyx avatar kytrinyx commented on August 12, 2024

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.

Stargator avatar Stargator commented on August 12, 2024

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.

kytrinyx avatar kytrinyx commented on August 12, 2024

@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.

Stargator avatar Stargator commented on August 12, 2024

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.

kytrinyx avatar kytrinyx commented on August 12, 2024

Agreed—that would not make a good first patch.

from dart.

Stargator avatar Stargator commented on August 12, 2024

Closing this as #34 will address the last steps for CI.

from dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.