Skip to content

renggli/dart-junit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JUnit Configuration

Pub Package GitHub Issues GitHub Forks GitHub Stars GitHub License

Warning: This library does not currently work with recent versions of the Dart testing framework. Due to the changed internal APIs it is not (easily) possible to make it work again. For now, if you want to use this library, write your tests using unittesting 0.11.0 instead.

A test configuration producing JUnit compatible output. This is useful for continuous integration servers (such as Jenkins) that support displaying JUnit test results.

This library is open source, stable and well tested. Development happens on GitHub. Feel free to report issues or create a pull-request there. The most recent stable versions are available through pub.dartlang.org.

Continuous build results are available from Jenkins.

Installation and Use

Add the dependency to your package's pubspec.yaml file:

dependencies:
  junitconfiguration: ">=1.0.0 <2.0.0"

Then on the command line run:

$ pub get

To import the package into your Dart tests add:

import 'package:junitconfiguration/junitconfiguration.dart';

At the top of your main method, before the actual tests write:

JUnitConfiguration.install();

And this is all that is needed.

Misc

License

The MIT License, see LICENSE.

About

A test configuration for Dart producing JUnit compatible output.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages