pkg/skel: add rudimentary unit tests
authorStefan Junker <mail@stefanjunker.de>
Fri, 18 Mar 2016 21:28:14 +0000 (22:28 +0100)
committerStefan Junker <mail@stefanjunker.de>
Fri, 18 Mar 2016 21:34:29 +0000 (22:34 +0100)
commita6c5d806614a08a2522904d4acd2f9f8e3102eb0
treecad442e476a5de89b3c3d61d2b082cb84e44c349
parente72674949e45db4d900591acfb541d0686b036fe
pkg/skel: add rudimentary unit tests

This is an attempt to testing the PluginMain() function of the skel pkg.
We should be able to do better by using a mockable interface for the
plugins, but this is a start.
pkg/skel/skel_suite_test.go [new file with mode: 0644]
pkg/skel/skel_test.go [new file with mode: 0644]
test