You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [ONEM-25820] Major refactor
This change aims to simplify the codebase, especially in the area of
tests declaration.
Tests declaration has been moved into |suites.js|, where each test suite
explicitly declares its own tests. There are still some helper functions
for creation of multiple tests at once (makeMvtMediaTests), but I
personally find it much more readable. Current approach also gives us
much greater control when it comes tests selection and parametrization
(e.g. now we can mark some tests unstable on a given test suite).
In addition:
- Declare name for each stream, so it can be accessed directly
- Drop unnecessary attributes from stream mediaStreams.js
- Greatly simplify profiles.js
- Drop blocklist - now unstable tests are declared in suites.js
- Rework codecSupportTests.js
- Rework coverage.js
- Extend readme
- Add skipping specific test by name
Co-authored-by: Lukasz Rutkowski <lukasz.rutkowski@consult.red>
@@ -32,7 +32,7 @@ Test streams use different audio/video/subtitles codecs and media containers. Fo
32
32
33
33
## Source
34
34
35
-
git clone git@github.com:rdkcentral/mvt.git
35
+
git clone git@github.com:rdkcentral/MVT.git
36
36
./prepare_submodule.sh
37
37
38
38
### Relation to js_mse_eme
@@ -100,24 +100,6 @@ A list of of all external media assets used by a deployed instance of MVT:
100
100
| HSS-AVC1-AAC |[Microsoft PlayReady](https://testweb.playready.microsoft.com/Content/Content2X)|http://amssamples.streaming.mediaservices.windows.net/683f7e47-bd83-4427-b0a3-26a6c4547782/BigBuckBunny.ism/manifest(format=mpd-time-csf) | Not distributed by MVT, used for playback during test execution |
101
101
| HSS-AVC1-AAC |[Microsoft PlayReady](https://testweb.playready.microsoft.com/Content/Content2X)|http://profficialsite.origin.mediaservices.windows.net/c51358ea-9a5e-4322-8951-897d640fdfd7/tearsofsteel_4k.ism/manifest| Not distributed by MVT, used for playback during test execution |
102
102
103
-
## Development
104
-
105
-
1.[Deploy](#deployment) the application
106
-
2.[Stop the container](#stop-mvt) - it works on build-time static copy of source files
"log": "[2022-07-20T14:05:17.007Z] TestExecutor: Test 1:IsTypeSupported video/mp4 avc STARTED with timeout 30000 \n[2022-07-20T14:05:17.010Z] TestExecutor: Executing IsTypeSupported test for avc (video/mp4; codecs=\"avc1.4d002a\") \n[2022-07-20T14:05:17.014Z] TestExecutor: Test 1:IsTypeSupported video/mp4 avc PASSED. \n",
173
+
"name": "IsTypeSupported video/mp4 avc",
192
174
"status": "passed",
193
-
"suites_chain": "MVT_SUITE.codecsupport-test",
194
-
"time_ms": 2,
175
+
"suites_chain": "MVT_SUITE.codec-support-test",
176
+
"time_ms": 7,
195
177
"type": "test_result",
196
178
"ver": "1.0"
197
-
},
179
+
}
198
180
{
199
-
"log": "[2022-05-04T12:27:02.804Z] TestExecutor: Test 2:video/mp4; codecs=\"hvc1.2.4.L153.00\"(hevc) STARTED with timeout 30000 \n[2022-05-04T12:27:02.805Z] TestExecutor: checking video/mp4; codecs=\"hvc1.2.4.L153.00\" \n[2022-05-04T12:27:02.805Z] TestExecutor: Test 2:video/mp4; codecs=\"hvc1.2.4.L153.00\"(hevc) FAILED \n[2022-05-04T12:27:02.807Z] TestExecutor: Test 0.0.0.1:video/mp4; codecs=\"hvc1.2.4.L153.00\"(hevc) threw an error: Assert failed: canPlayType should be probably for video/mp4; codecs=\"hvc1.2.4.L153.00\" \n",
"log": "[2022-07-20T14:05:17.020Z] TestExecutor: Test 2:IsTypeSupported video/mp2t avc STARTED with timeout 30000 \n[2022-07-20T14:05:17.023Z] TestExecutor: Executing IsTypeSupported test for avc (video/mp2t; codecs=\"avc1.4d002a\") \n[2022-07-20T14:05:17.027Z] TestExecutor: Test 2:IsTypeSupported video/mp2t avc FAILED \n[2022-07-20T14:05:17.032Z] TestExecutor: Test :IsTypeSupported video/mp2t avc threw an error: Assert failed: MediaSource.isTypeSupported should be true for video/mp2t; codecs=\"avc1.4d002a\" \n",
182
+
"name": "IsTypeSupported video/mp2t avc",
183
+
"status": "skipped",
184
+
"suites_chain": "MVT_SUITE.codec-support-test",
185
+
"time_ms": 13,
204
186
"type": "test_result",
205
187
"ver": "1.0"
206
188
}
@@ -219,10 +201,100 @@ It is still supported, but it uses different output format and does not include
219
201
220
202
- <spanstyle="color:yellow">Unsupported</span> - case is unsupported, either by container, player or WPEWebKit.
221
203
- <spanstyle="color:red">Supported, no content</span> - case is not covered by MVT test suite.
222
-
- <spanstyle="color:green">Supported</span> - case is represented by `x`media streams. Please note that it does not mean that related tests pass on the active device - it is just a coverage view which does not verify test results.
204
+
- <spanstyle="color:green">Supported</span> - case is represented by `x`tests. Please note that it does not mean that related tests pass on the active device - it is just a coverage view which does not verify test results.
223
205
224
206

225
207
208
+
## Development
209
+
210
+
1.[Deploy](#deployment) the application
211
+
2.[Stop the container](#stop-mvt) - it works on build-time static copy of source files
0 commit comments