Functional test doc recommends using deprecated method
See original GitHub issueThis page https://www.playframework.com/documentation/2.5.x/JavaFunctionalTest contains the following code snippet under Creating Application instances for testing:
Application fakeAppWithGlobal = fakeApplication(new GlobalSettings() { ... });
But Helpers.fakeApplication(GlobalSettings)
is deprecated.
On a related topic, should all of the variants of the Helpers.fakeApplication()
method be deprecated? They all create FakeApplication
objects and the FakeApplication
class itself is deprecated.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Deprecations and Removals — pytest documentation
Deprecations and Removals¶. This page lists all pytest features that are currently deprecated or have been removed in past major releases.
Read more >java - @deprecated vs @Deprecated - Stack Overflow
@Deprecated is an annotation that is read by the compiler, used to mark a method as deprecated to the compiler and will generate...
Read more >Deprecation checking and correction tools to prepare ... - Drupal
There are several automated tools to find and fix deprecations in your codebase.
Read more >What is deprecated in IT? - TechTarget
Learn about deprecated in IT, which is when something is available or allowed, but is not recommended or that its failings are recognized....
Read more >Deprecations | Android Enterprise - Google Developers
This page lists all the managed Google Play features which are currently in a deprecation period. This includes features and methods under ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Shruti9520 the build failure was not related to your changes. The PR was merged and we can now close this issue.
Thank you!
@Shruti9520 Sure. Note that this is only in the 2.5.x docs (not in master) so you have to submit your pull request to the 2.5.x branch. I think we can just remove the GlobalSettings example.