over_react_test 2.8.0 copy "over_react_test: ^2.8.0" to clipboard
over_react_test: ^2.8.0 copied to clipboard

outdated

A library for testing OverReact components

OverReact Test Changelog #

2.8.0 #

  • Update mount, render, and renderAttachedToDocument to automatically run component lifecycle in the same zone as the test.
    • This fixes some print statements from being swallowed and some failing expects from not failing tests properly

2.7.0 #

  • Add propTypes testing utilities

2.6.0 #

  • Drop support for React 15
  • Support Component2 in commonComponentTests

2.5.2 #

  • Add support for React 16 (raise upper bound of react to allow 5.x, over_react to allow 3.x)
  • Fix documentation link

2.5.1 #

  • Accommodate findAllInRenderedTree being passed text nodes in React 16

2.5.0 #

  • Update references to old JS interop helpers
  • Update contributing docs

2.4.1 #

  • Work around a bug in DDC where SvgElement className isn't String

2.3.0 #

  • Widen over_react range to allow 2.0.0

2.2.0 #

  • Update component boilerplate in preparation for over_react 2.0.0

2.1.0 #

  • Update component boilerplate in preparation for over_react 2.0.0

New Features

  • Dart 2 compatible!

Breaking Changes

  • The getComponentPropKeys() and testPropForwarding() functions have been removed, as they depended on dart:mirrors. Once there is a Dart-2-only release of over_react, this function will be re-added and will rely on information generated by the builder rather than using mirrors.

  • The commonComponentTests() function no longer calls testPropForwarding() since it has been removed. In other words, the shouldTestPropForwarding parameter is effectively a no-op until testPropForwarding() can be re-added.

1.1.1 #

Bugs Fixed

  • Sync common component test src with the lib it originated from.

1.1.0 #

New Features

  • #11: Add some test utilities that were left in over_react when the library was first created.

1.0.1 #

Misc

  • #8: Update prop error message to make it more DDC friendly

1.0.0 #

Initial public release of library.