CCExtractor Development

Sample Platform : Add some unit tests

Introduction

CCExtractor is a tool to extract subtitles/closed captions from video streams. In order to verify that changes to the code don't break previous samples with issues, we created a test suite. To run this whenever a pull request on GitHub is opened, or when a commit is made, we created the Sample Platform (often abbreviated as SP), which is a website where users can submit faulty samples, and which kicks off the test suite on different platforms.

The task

Currently, the sample platform has a rather decent set of unit/integration tests (about 60%). We'd like to increase coverage, so more tests should be added.

Flask provides a way to test the application, so it'd be great to make use of that and test some stuff that way.

Requirements to complete this task

We expect a pull request that adds at least 3 new unit tests that cover previously untested code.

Relevant extra links

Task tags

  • python
  • flask
  • unit tests
  • pytest
  • nosetests

Students who completed this task

T1duS, Matej Plavevski

Task type

  • code Code
  • done_all Quality Assurance
close

2018