We currently are using the buildbot software for automating the snapshot
builds. http://buildbot.openwrt.org:8010/ It would be possible to script
some test cases and have them run after each successful build but we
currently do not have a box that this could be done with. The test lab would
need networkable power so we powercycle the hardware remotely as needed. It
would also need a serial connection to all the devices.

Travis

On Tue, Jan 4, 2011 at 2:28 AM, Daniel Golle <daniel.go...@gmail.com> wrote:

> i'm day-dreaming about an automated testing environment for OpenWrt
> for some days. automated testing with JUnit and ruby-unit has made my
> life much better and the time-loss when developing on OpenWrt without
> decent automated testing can be very frustrating.
> sure, everybody can just setup a bunch of scripts to test-through
> whatever, but sharing the test-cases and would be great.
> therefore we need a common language to specify test-cases. i want to
> share the ideas i had so far. i'd be glad to hear your opinion and
> anything your feel being related to this idea.
>
> why?
> - increase quality
> - have better ways to find, reproduce and communicate information about
> bugs
> - keep us busy with developing, less time spending doing repetitive
> things and waiting for results
>
> how?
> - have a test-host connected to one or more OpenWrt-based test-clients
> (via serial and eventually using a reset-switch)
> - let the host control and record what happens on the clients
> - maybe each openwrt package can come with test-cases?
> - maybe we can have a test-spec for each hardware target?
> - possibility to specify multi-device-test cases, like have one be an
> wifi ap and the other be wifi client
> - have quantitative metrics and reports for some tests (like wifi
> data-throughput)
> - in case of a non-satisfying test-result, a bug-report can be
> generate which, after approval, would be pushed into the bug-tracker
>
> test-cases could be organized in an object-oriented fashion, i'm
> thinking of an abstract testing-framework running on the test-host
> which processes YAML or XML files holding the information of the tests
> to be executed. i'd implement that in Ruby using ruby-unit.
>
> dreams...
> - have a hardware test-farm
> - have a web-interface like tinderbox.mozilla.org
>
> please share whatever comes up in you!
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to