<commit_before>[[release-notes-5.0.0-m2]]
=== 5.0.0-M2

*Date of Release:* July 22, 2016

*Scope:* Second milestone release of JUnit 5

[[release-notes-5.0.0-m2-summary]]
==== Summary of Changes

This release is primarily a bugfix release for bugs discovered since 5.0.0-M1.

[[release-notes-5.0.0-m2-junit-platform]]
===== JUnit Platform

* ?

[[release-notes-5.0.0-m2-junit-jupiter]]
===== JUnit Jupiter

* ?

[[release-notes-5.0.0-m2-junit-vintage]]
===== JUnit Vintage

_No changes since 5.0.0-M1_<commit_msg>Document bug fixes & changes in 5.0 M2 in User Guide<commit_after>[[release-notes-5.0.0-m2]]
=== 5.0.0-M2

*Date of Release:* July 22, 2016

*Scope:* Second milestone release of JUnit 5

[[release-notes-5.0.0-m2-summary]]
==== Summary of Changes

This release is primarily a bugfix release for bugs discovered since `5.0.0-M1`.

The following is a list of global changes. For details regarding changes specific to the
Platform, Jupiter, and Vintage, consult the dedicated subsections.

* The JUnit 5 Gradle build now runs properly on Microsoft Windows.
* A continuous integration build against Microsoft Windows has been set up on AppVeyor.

[[release-notes-5.0.0-m2-junit-platform]]
===== JUnit Platform

====== Bug Fixes

* Failures in containers -- for example, `@BeforeAll` methods that throw exceptions --
  now fail the build when using the `ConsoleLauncher` or the JUnit Platform Gradle plugin.
* The JUnit Platform Surefire Provider no longer silently ignores purely dynamic test
  classes -- for example, test classes that only declare `@TestFactory` methods.
* The `junit-platform-console` and `junit-platform-console.bat` shell scripts included in
  the `junit-platform-console-<release version>` TAR and ZIP distributions now properly
  refer to the `ConsoleLauncher` instead of the `ConsoleRunner`.
* The `TestExecutionSummary` used by the `ConsoleLauncher` and the JUnit Platform Gradle
  plugin now includes the actual exception type for failures.

====== Deprecations

* Generic name-based discovery selectors (i.e., `selectName()` and `selectNames()`) in
  `DiscoverySelectors` have been deprecated in favor of the dedicated
  `selectPackage(String)`, `selectClass(String)`, and `selectMethod(String)` methods.

====== New Features

* New  `selectMethod(String)` method in `DiscoverySelectors` that supports selection of
  a _fully qualified method name_.

[[release-notes-5.0.0-m2-junit-jupiter]]
===== JUnit Jupiter

====== Bug Fixes

* Extension implementations declared via `@ExtendWith` at the class-level and at the
  method-level will no longer be registered multiple times.

[[release-notes-5.0.0-m2-junit-vintage]]
===== JUnit Vintage

_No changes since 5.0.0-M1_
{'fraction_non_alphanumeric': 0.11991117690599556, 'fraction_numerical': 0.030347890451517395, 'mean_word_length': 4.516326530612245, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5281489', 'n_tokens_mistral': 858, 'n_tokens_neox': 816, 'n_words': 297}