Rob Hallam
|
0d2096aed6
|
refactor!: rename video_producers → producers
Since it no longer simply produces videos this name is preferred
Also update tests to use updated module name
|
3ヶ月前 |
Rob Hallam
|
445efac7f3
|
test: [producers] add test_produce() functionality
Uses unittest.mock.path to patch out call to matplotlib.pyplot.savefig()
TODO: better, more-granular tests of the bits of functionality here
|
3ヶ月前 |
Rob Hallam
|
ff09cd4b8f
|
test: [mocks] add attrs to MockFeature + MockSource.duration()
|
3ヶ月前 |
Rob Hallam
|
649fcae070
|
test: expand TestFfmpegVideoProducer coverage
mocks out calls to ffmpeg for obvious reasons
|
3ヶ月前 |
Rob Hallam
|
3dc2a5c858
|
test: add mocks module for commonly-mocked objects
Includes:
- MockInterval
- MockFeature
- MockSource
|
3ヶ月前 |
Rob Hallam
|
6cb0d723ac
|
test: [utils] add TestFeature fixtures
Gets utils coverage up to 100% (for now)
|
3ヶ月前 |
Rob Hallam
|
7ca0720be2
|
test: add Interval.test_eq method
@see: 0a08af4
|
3ヶ月前 |
Rob Hallam
|
0a08af4972
|
test: add MockSource & MockInterval to test Feature
|
3ヶ月前 |
Rob Hallam
|
1bd176848a
|
test [utils] add Interval tests
Covers:
- to_json
- move_end
- update_duration
- unhappy path exceptions (mostly init)
|
3ヶ月前 |
Rob Hallam
|
35d25c6ff2
|
test: [utils] add TestSource.test_to_json
|
3ヶ月前 |
Rob Hallam
|
33ccffaead
|
test: add TestLAFE.t_extract_mocked_get)loudnesses()
Gets test coverage for this module to 100%! (for now)
|
3ヶ月前 |
Rob Hallam
|
e3b9862bcf
|
test: add TestFfmpegVideoProducer
|
3ヶ月前 |
Rob Hallam
|
48ead78c9a
|
test: add TestJSONP & TestVisualisationP
|
3ヶ月前 |
Rob Hallam
|
5993289d7d
|
test: add move_end method for overlap testing
|
3ヶ月前 |
Rob Hallam
|
fb8f3270e5
|
test: add mocked loudnorm to TestLAFE
|
3ヶ月前 |
Rob Hallam
|
028adbc640
|
test: add TestJSONFE with mocks
|
3ヶ月前 |
Rob Hallam
|
bee133d53f
|
test: Add mocked test calls to TestLFE
|
3ヶ月前 |
Rob Hallam
|
4eaddf9db2
|
test: add TestVAFE
|
3ヶ月前 |
Rob Hallam
|
d38d5e619f
|
test: add LAFE - no input files & test_extract()
|
3ヶ月前 |
Rob Hallam
|
9bdd90c4c0
|
test: add TestLAFE
TestLoudAudioFeatureExtractor -- init only
|
3ヶ月前 |
Rob Hallam
|
28e33ed47a
|
test: add TestSourceMedia & RFE.test_no_input
TestSourceMedia is a mockinobject so
TODO: rename
|
3ヶ月前 |
Rob Hallam
|
cd8d57e9b1
|
test: add tests for LAFE and RFE
Initialset of tests for LaughterFeatureExtractor and
RandomFeatureExtractor
|
3ヶ月前 |
Rob Hallam
|
fcfc1773bc
|
feat: add suite of tests for utils module
This covers:
- Source
- SourceMedia
- Interval
|
4ヶ月前 |
Rob Hallam
|
558739a0cd
|
feat: add __init__, TestOverlapConsolidation suite
|
4ヶ月前 |
Rob Hallam
|
05a67c6264
|
feat: add context to ease testing
|
4ヶ月前 |