Skip to content

Conversation

@kevmoo
Copy link
Member

@kevmoo kevmoo commented Mar 20, 2018

No description provided.

@kevmoo kevmoo requested review from natebosch and nshahan March 20, 2018 16:25

dev_dependencies:
test: ^0.12.0
test_descriptor: ^1.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is test_descriptor used?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! Not yet...good catch...

;;
*) echo -e "\033[31mNot expecting TASK '${TASK}'. Error!\033[0m"
EXIT_CODE=1
;;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this our recommended approach to travis testing now? What happened to the days of just adding a few lines in the travis.yaml?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is using mono_repo – let's us test multiple packages in one repo easily...

@kevmoo
Copy link
Member Author

kevmoo commented Mar 20, 2018

PTAL

Copy link
Contributor

@nshahan nshahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more question, then LGTM.


test('should fail in a package without a build_runner dependency', () async {
var process = await TestProcess.start('dart', ['bin/webdev.dart', 'serve']);
await process.shouldExit(255);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we expecting anything other than a failure yet?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is running against itself – so no build_runner dep or anything. We expect it to always fail.

...although in the future it should fail with a more helpful message and a different error code

@kevmoo kevmoo merged commit 8e92687 into master Mar 20, 2018
@kevmoo kevmoo deleted the fixes branch March 20, 2018 17:26
@@ -0,0 +1,39 @@
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2018

@kevmoo
Copy link
Member Author

kevmoo commented Mar 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants