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

Document the process and get things ready #1

Merged
merged 10 commits into from
Jun 28, 2019
Merged

Conversation

Hixie
Copy link
Contributor

@Hixie Hixie commented Mar 22, 2019

No description provided.

@Hixie Hixie force-pushed the first branch 2 times, most recently from a4ca1b2 to c717a2a Compare May 20, 2019 21:57
@Hixie Hixie force-pushed the first branch 3 times, most recently from 2f4abb2 to a9da6fb Compare May 21, 2019 22:19
@@ -0,0 +1,7 @@
[email protected]
Copy link
Contributor

Choose a reason for hiding this comment

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

Danny too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops. replaced me with dantup.

# specific revision. You may regularly submit PRs that update the
# revision being used.
#
# Each command is run in a separate shell.
Copy link
Contributor

Choose a reason for hiding this comment

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

Specify which environment / shell. e.g. Linux / bash.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess technically it's not even a shell, I just spawn the process after splitting on spaces.

registry/template.test Show resolved Hide resolved
registry/template.test Show resolved Hide resolved
registry/template.test Show resolved Hide resolved
registry/template.test Show resolved Hide resolved
registry/template.test Show resolved Hide resolved
* All the code must be available publicly on GitHub under a license
compatible with this effort.

* Tests must be hermetic. For example, a test should not involve
Copy link
Contributor

Choose a reason for hiding this comment

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

What about the setup required to run a test (aside from cloning the repo)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

like what?

Copy link
Contributor

Choose a reason for hiding this comment

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

Like downloading an Android SDK or a flutter_tools plugin (when such a thing exists)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Android SDK should be provided by the test environment (still working on the details of that).
Plugins should be pinned by version, I guess. Maybe we should require pubspec.lock files?

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point - we totally should.

@Hixie Hixie force-pushed the first branch 3 times, most recently from e6cb073 to 050ca6e Compare May 22, 2019 16:55
tvolkert
tvolkert previously approved these changes May 22, 2019
@rrousselGit
Copy link
Contributor

rrousselGit commented May 22, 2019

Hello!
I'm not sure if that matters but: I've read the readme and other files quite a few times, and I'm still not 100% sure that I understand what this repository is about.

Is it something that could help open source maintainers to detect breaking changes?

It may be interesting to develop a bit more the description. 😄

@Hixie
Copy link
Contributor Author

Hixie commented May 22, 2019

It would help us know when we are going to break someone, yes. And let us reach out.

@Hixie
Copy link
Contributor Author

Hixie commented Jun 28, 2019

(The bots are failing successfully in their current configuration.)

Copy link
Contributor

@tvolkert tvolkert left a comment

Choose a reason for hiding this comment

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

LGTM

@Hixie Hixie merged commit d73e0fd into flutter:master Jun 28, 2019
@Hixie Hixie deleted the first branch June 28, 2019 23:22
Hixie added a commit to Hixie/flutter that referenced this pull request Jul 10, 2019
This introduces a script that implements the conventions described in flutter/tests#1.
Hixie added a commit to flutter/flutter that referenced this pull request Jul 10, 2019
This introduces a script that implements the conventions described in flutter/tests#1.
johnsonmh pushed a commit to johnsonmh/flutter that referenced this pull request Jul 30, 2019
This introduces a script that implements the conventions described in flutter/tests#1.
zanderso added a commit that referenced this pull request Jun 7, 2024
The pixel tests in the tiler suite are experiencing the same failure as
is described in flutter/flutter#149934

cc @DanTup 

```
| ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
| The following assertion was thrown while running async test code:
| Golden "test-maps/geometry/orthogonal_macos_arm.png": Pixel test failed, 0.00%, 8px diff detected.
| Failure feedback can be found at
| /Volumes/Work/s/w/ir/x/t/flutter_customer_testing.DanTup_tiler.GmgOoy/tests/test/failures
|
| When the exception was thrown, this was the stack:
| #0      LocalFileComparator.compare (package:flutter_test/src/_goldens_io.dart:106:5)
| <asynchronous suspension>
| #1      MatchesGoldenFile.matchAsync.<anonymous closure> (package:flutter_test/src/_matchers_io.dart:118:32)
| <asynchronous suspension>
| <asynchronous suspension>
| #3      _expect.<anonymous closure> (package:matcher/src/expect/expect.dart:123:26)
| <asynchronous suspension>
| <asynchronous suspension>
| #5      expectLater.<anonymous closure> (package:flutter_test/src/widget_tester.dart:512:24)
| <asynchronous suspension>
| #6      expectMapRender (file:///Volumes/Work/s/w/ir/x/t/flutter_customer_testing.DanTup_tiler.GmgOoy/tests/test/utils.dart:43:5)
| <asynchronous suspension>
| #7      testMapRender.<anonymous closure> (file:///Volumes/Work/s/w/ir/x/t/flutter_customer_testing.DanTup_tiler.GmgOoy/tests/test/utils.dart:20:5)
| <asynchronous suspension>
| #8      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:183:15)
| <asynchronous suspension>
| #9      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1025:5)
| <asynchronous suspension>
| <asynchronous suspension>
| (elided 3 frames from dart:async and package:stack_trace)
|
| The exception was caught asynchronously.
| ════════════════════════════════════════════════════════════════════════════════════════════════════
|
| 00:05 +10 -1: geometry/orthogonal [E]
|   Test failed. See exception logs above.
|   The test description was: geometry/orthogonal
|
|
| To run this test again: /Volumes/Work/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dart test /Volumes/Work/s/w/ir/x/t/flutter_customer_testing.DanTup_tiler.GmgOoy/tests/test/render_test.dart -p vm --plain-name 'geometry/orthogonal'
```
@flutter flutter deleted a comment from Wuduoma Jul 12, 2024
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