Comments (2)
TargetPlatform.txt
NOTE: JUnit platform support does not exhibit feature parity (not sure this is actually true)
Core implementation
- if target platform is defined, append platform name to test result output path
PlatformTargetable<P extends Enum<?>>
- defines target platform interface for test classes
TargetPlatformHandler
- declares shouldRun()
- declares getTargetedPlatform() methods
- uses getDefaultPlatform() and platformFromString()
(TestNG) WebDriverTestNGTestSupport.beforeInvocation
- try to convert method description to JSON object
- if conversion succeeds, extract the "platform" element
- if a platform was specified:
- invoke interface activatePlatform() method
- store platform value in test result attribute
(TestNG) TestFlowController
- method interceptor determines which methods should run on context platform
- for each method that should run:
- get targeted platform
- if platform is defined, store it as JSON in method description
- add method to list of tests to run
- context platform defined in SuiteXML takes precedence over core settings
(JUnit) TargetPlatformRule implements TestRule
- get test run platform setting (contextPlatform)
- get TargetPlatform annotation from Description
- wrap base Statement in PlatformStatement object, injecting TargetPlatform annotation
(JUnit) PlatformStatement extends Statement
- in <init>(), store targeted/default platform
- in evaluate(), propagate this value to the TargetPlatformRule
(JUnit) WebDriverJUnitTestSupport.setup (@Before method)
- if test class is targetable, get target from TargetPlatformRule
- if platform was specified, invoke interface activatePlatform() method
- otherwise, throw AssumptionViolatedException to skip the test
from selenium-foundation.
This issue is resolved by the release of version 17.6.0
.
from selenium-foundation.
Related Issues (20)
- Replace JUnitPlatformBase.invoke with LifecycleHooks.invoke HOT 1
- Local Grid: Add support for 'selendroid' HOT 1
- Revise hub lifecycle management config HOT 1
- Investigate whether JsUtility.getScriptResource() is able to extract resources from JAR files HOT 1
- JUnit Support - Replace references to RuleChain with Rule order attribute
- Add a feature that will automatically select between multiple versions of a component
- Add a feature that allows the context element of a page component to be "optional"
- JsUtility needs to get the JavascriptExecutor from the search context
- Add methods in WebDriverUtils to make interacting with alerts more rational
- Analyze specifications of BYPASS_METHODS and BYPASS_CLASSES HOT 1
- For drivers that require explicit specification of binary location, scan the PATH if System property is unspecified HOT 1
- Keep an eye on Shadow DOM support in Firefox
- Add support for Android activities to "initial page" feature
- Factor out server launch to enable "lazy" initialization of LocalSeleniumGrid hub and node objects HOT 1
- Appium nodes need to be launched in a separate process HOT 4
- Revise Grid server launch strategy to launch the entire collection in rapid succession, then wait for all to activate HOT 1
- Create a method to add more nodes to an existing local Grid collection HOT 1
- Add profiles to enable easier activation of browser support HOT 1
- ContainerMethodInterceptor.loadIsComplete() performs an unchecked cast to DetectsLoadCompletion HOT 1
- Fix JUnit 4 support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium-foundation.