Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.2 #41

Merged
merged 8 commits into from
Sep 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -9,18 +9,25 @@ on:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'

env:
PUB_ENVIRONMENT: bot.github

jobs:
build:
runs-on: ubuntu-latest

container:
image: google/dart:beta
strategy:
fail-fast: false
matrix:
sdk: [dev, stable]

steps:
- uses: actions/checkout@v2

- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}

- name: pub get
run: pub get
run: dart pub get

- name: dart format
run: dart format --output=none --set-exit-if-changed .
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.2

- Update to package:lints 2.0.0 and move it to a dev dependency.

## 0.2.1

- Use package:lints for analysis.
10 changes: 5 additions & 5 deletions lib/test_reflective_loader.dart
Original file line number Diff line number Diff line change
@@ -13,28 +13,28 @@ import 'package:test/test.dart' as test_package;
* A marker annotation used to annotate test methods which are expected to fail
* when asserts are enabled.
*/
const _AssertFailingTest assertFailingTest = _AssertFailingTest();
const Object assertFailingTest = _AssertFailingTest();

/**
* A marker annotation used to annotate test methods which are expected to fail.
*/
const FailingTest failingTest = FailingTest();
const Object failingTest = FailingTest();

/**
* A marker annotation used to instruct dart2js to keep reflection information
* for the annotated classes.
*/
const _ReflectiveTest reflectiveTest = _ReflectiveTest();
const Object reflectiveTest = _ReflectiveTest();

/**
* A marker annotation used to annotate test methods that should be skipped.
*/
const SkippedTest skippedTest = SkippedTest();
const Object skippedTest = SkippedTest();

/**
* A marker annotation used to annotate "solo" groups and tests.
*/
const _SoloTest soloTest = _SoloTest();
const Object soloTest = _SoloTest();

final List<_Group> _currentGroups = <_Group>[];
int _currentSuiteLevel = 0;
6 changes: 4 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: test_reflective_loader
version: 0.2.1
version: 0.2.2
pq marked this conversation as resolved.
Show resolved Hide resolved
description: Support for discovering tests and test suites using reflection.
repository: https://github.com/dart-lang/test_reflective_loader

environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
lints: ^1.0.0
test: ^1.16.0

dev_dependencies:
lints: ^2.0.0