All Projects → exercism → dart

exercism / dart

Licence: MIT license
Exercism exercises in Dart.

Programming Languages

dart
5743 projects
shell
77523 projects
powershell
5483 projects

Projects that are alternatives of or similar to dart

mips
Exercism exercises in MIPS Assembly.
Stars: ✭ 19 (-55.81%)
Mutual labels:  exercism-track, community-contributions-paused
raku
Exercism exercises in Raku
Stars: ✭ 19 (-55.81%)
Mutual labels:  exercism-track, community-contributions-paused
Go
Exercism exercises in Go.
Stars: ✭ 547 (+1172.09%)
Mutual labels:  exercism-track
Kotlin
Exercism exercises in Kotlin.
Stars: ✭ 128 (+197.67%)
Mutual labels:  exercism-track
Bash
Exercism exercises in Bash.
Stars: ✭ 74 (+72.09%)
Mutual labels:  exercism-track
Lfe
Exercism exercises in Lisp Flavoured Erlang (LFE).
Stars: ✭ 17 (-60.47%)
Mutual labels:  exercism-track
Scala
Exercism exercises in Scala.
Stars: ✭ 88 (+104.65%)
Mutual labels:  exercism-track
Java
Exercism exercises in Java.
Stars: ✭ 393 (+813.95%)
Mutual labels:  exercism-track
C
Exercism exercises in C.
Stars: ✭ 177 (+311.63%)
Mutual labels:  exercism-track
Coffeescript
Exercism exercises in CoffeeScript.
Stars: ✭ 11 (-74.42%)
Mutual labels:  exercism-track
Erlang
Exercism exercises in Erlang.
Stars: ✭ 105 (+144.19%)
Mutual labels:  exercism-track
Idris
Exercism exercises in Idris.
Stars: ✭ 25 (-41.86%)
Mutual labels:  exercism-track
Prolog
Exercism exercises in Prolog.
Stars: ✭ 18 (-58.14%)
Mutual labels:  exercism-track
Elm
Exercism exercises in Elm.
Stars: ✭ 100 (+132.56%)
Mutual labels:  exercism-track
Rust
Exercism exercises in Rust.
Stars: ✭ 651 (+1413.95%)
Mutual labels:  exercism-track
Cpp
Exercism exercises in C++.
Stars: ✭ 156 (+262.79%)
Mutual labels:  exercism-track
Elixir
Exercism exercises in Elixir.
Stars: ✭ 400 (+830.23%)
Mutual labels:  exercism-track
Delphi
Exercism exercises in Delphi Pascal.
Stars: ✭ 24 (-44.19%)
Mutual labels:  exercism-track
Fsharp
Exercism exercises in F#.
Stars: ✭ 77 (+79.07%)
Mutual labels:  exercism-track
Javascript
Exercism exercises in JavaScript.
Stars: ✭ 245 (+469.77%)
Mutual labels:  exercism-track

Exercism Dart Track

Test

Exercism exercises in Dart.

Requirements

  • Dart 2.0.0 or higher

Setup

The simplest way to install Dart can be found here.

Clone the repo and run dart pub get to download all the dependencies for this project.

To run all the tests execute: dart test To run the tests for a single exercise, execute EXERCISE=slug dart test.

To create a new exercise, use the executable in the tool directory: dart bin/create_exercise.dart

Exercise Tests

At the most basic level, Exercism is all about the tests. They drive the user's implementation forward and tell them when the exercise is complete.

The utmost care and attention should be used when adding or making changes to the tests for an exercise. When implementing an exercise test suite, we want to provide a good user experience for the people writing a solution to the exercise. People should not be confused or overwhelmed.

We simulate Test-Driven Development (TDD) by implementing the tests in order of increasing complexity. We try to ensure that each test either

  • helps triangulate a solution to be more generic, or
  • requires new functionality incrementally.

Test files should use the following format:

  test("says hello world with no name", () {
    final String result = helloWorld.hello();
    expect(result, equals("Hello, World!"));
  }, skip: false);

Contributing

Thank you so much for contributing! 🎉

We welcome pull requests of all kinds. No contribution is too small.

We encourage contributions that provide fixes and improvements to existing exercises. Please note that this track's exercises must conform to the standards determined in the exercism/problem-specifications repo. Changes to the tests or documentation of a common exercise will often warrant a PR in that repo before it can be incorporated into this track's exercises. If you're unsure, then go ahead and open a GitHub issue, and we'll discuss the change.

Please read our Contribution guidelines on how to help this track!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].