1. 06 Nov, 2018 3 commits
  2. 21 Aug, 2018 1 commit
  3. 15 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Shim package:test to avoid matcher issues (#20602) · 686d8f8a
      Ian Hickson authored
      * Upgrade everything except matcher.
      * Roll matcher (and test)
      * Adjust tests that depend on flutter:test directly to depend on a shim
      * Require use of package:test shim and remove other references to package:test
      686d8f8a
  4. 16 Mar, 2018 1 commit
  5. 12 Feb, 2018 1 commit
  6. 26 Jan, 2018 1 commit
    • Vyacheslav Egorov's avatar
      Unpin test and upgrade packages (#14282) · c23509e9
      Vyacheslav Egorov authored
      * Unpin package:test and upgrade packages
      
      * Update packages/flutter/test/foundation/stack_trace_test.dart
      
      * Also add packages/flutter_tools/test/data/asset_test/font/.dartignore to ensure that update-packages --force-upgrade does not crash.
      c23509e9
  7. 17 Jan, 2018 1 commit
  8. 16 Jan, 2018 1 commit
    • Ian Hickson's avatar
      Prepare for running tests on Windows (#14112) · c5050bc8
      Ian Hickson authored
      Seems like we don't yet run the flutter tests on Windows, but we're
      close to being able to. This makes some minor changes to make that
      more possible:
      
       - fix the stack parsing code to support Windows paths
       - fix the tests for the stack error handling code to handle Windows paths
       - skip some tests that rely on Ahem font metrics
      c5050bc8
  9. 04 Mar, 2017 1 commit
  10. 17 Feb, 2017 1 commit
  11. 15 Feb, 2017 1 commit
  12. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017