Project

General

Profile

TasksTasksNITBEndToEndTesting » History » Revision 3

Revision 2 (Anonymous, 02/19/2016 10:47 PM) → Revision 3/4 (Anonymous, 02/19/2016 10:47 PM)

 
 == NITB End to End testing    == 

 ||Mentor ||Holger Freyther    || 
 ||Skills ||C, Smalltalk, Python    || 
 ||Length ||4-20 weeks    || 

 === Goal === 
 We have an existing simulated BTS written in Smalltalk. This should be used as a basis for building end to end tests. The benefit of a simulated environment BTS is that compared to the real world it is trivial to inject failures at specific points on a deterministic basis. failures. The second part of goal is to improve the end testing framework itself and to end write as many tests as possible. 

 The second part is to use a real BTS and a our Modembank (16 GSM modems available through a single USB port) modems) to execute the tests. This increases the test coverage do real end to end tests involving the BTS. RF interface. 

 The goal is to increase the test coverage As part of writing the osmo-nitb and osmo-bsc application for normal GSM operations. A second goal is to improve tests the test framework itself to make it more easy to write test applications. The GNU coverage and lcov facilities can be used to determine code coverage after these tests. It should be possible to easily go from little to significant coverage in determined using the tests. lcov scripts. 

 == Approach == 
 The GNU Smalltalk FakeBTS is easy to install on Debian. One needs to add a new repository and then simply install the osmo-st-openbsc-test package and then can start writing tests. Example tests are included in the package and sourcecode itself. 

 The Modembank is supported by the [http://ofono.org ofono] framework. This means that one can drive the GSM modem through dbus and e.g. use python/ruby/perl to invoke the dbus routines. 


Add picture from clipboard (Maximum size: 48.8 MB)