junitconfiguration 1.2.0

  • README.md
  • Installing
  • Versions
  • 6

JUnit Configuration

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.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  junitconfiguration: "^1.2.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:junitconfiguration/junitconfiguration.dart';
        
Version Uploaded Documentation Archive
1.2.0 Oct 6, 2015 Go to the documentation of junitconfiguration 1.2.0 Download junitconfiguration 1.2.0 archive
1.1.1 Feb 27, 2015 Go to the documentation of junitconfiguration 1.1.1 Download junitconfiguration 1.1.1 archive
1.1.0 Feb 27, 2015 Go to the documentation of junitconfiguration 1.1.0 Download junitconfiguration 1.1.0 archive
1.0.6 Dec 30, 2014 Go to the documentation of junitconfiguration 1.0.6 Download junitconfiguration 1.0.6 archive
1.0.5 Aug 16, 2014 Go to the documentation of junitconfiguration 1.0.5 Download junitconfiguration 1.0.5 archive
1.0.4 May 13, 2014 Go to the documentation of junitconfiguration 1.0.4 Download junitconfiguration 1.0.4 archive
1.0.3 May 13, 2014 Go to the documentation of junitconfiguration 1.0.3 Download junitconfiguration 1.0.3 archive
1.0.2 Feb 28, 2014 Go to the documentation of junitconfiguration 1.0.2 Download junitconfiguration 1.0.2 archive
1.0.1 Feb 9, 2014 Go to the documentation of junitconfiguration 1.0.1 Download junitconfiguration 1.0.1 archive
1.0.0 Nov 7, 2013 Go to the documentation of junitconfiguration 1.0.0 Download junitconfiguration 1.0.0 archive

All 25 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Jan 21, 2018
  • Dart: 2.0.0-dev.15.0
  • pana: 0.10.0

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
10 / 100
Health:
Code health derived from static analysis. [more]
3 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
6

Platforms

Detected platforms: unsure

Error(s) prevent platform classification.

Suggestions

  • Fix lib/nullconfiguration.dart.

    Strong-mode analysis of lib/nullconfiguration.dart failed with the following error:

    line: 4 col: 36
    Classes can only implement other classes.

  • Fix lib/junitconfiguration.dart.

    Strong-mode analysis of lib/junitconfiguration.dart failed with the following error:

    line: 5 col: 8
    Target of URI doesn't exist: 'package:unittest/unittest.dart'.

  • Fix platform conflicts.

    Make sure none of the libraries use mutually exclusive dependendencies.

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 2 error(s) and 0 warning(s).

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use junitconfiguration.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
Dev dependencies
unittest >=0.11.0 <0.12.0