2 projects tagged "Apache 2.0"
MASH is a modular, automated script harness. It allows users to implement simple harnesses that perform work external to a system. The framework will invoke that harness as outlined by an XML script. For example, when using the framework to test a system you could create a script that cleans and loads a database, FTPs some data, submits a login form, and verifies HTTP information. Harnesses can easily be built to do almost anything (many harnesses are provided), not just Web page verification. While harnesses are written in Java, the scripts may be run against any type of system as harnesses are intended to act as clients.
Build systems fail to scale to large projects when rebuilding a small portion requires stat-ing every project file. Prebake is a build system that uses a long-lived service to hook into the file-system and watch for changes so it can avoid unnecessary I/O for incremental builds. It also solves common problems with Ant and Make: missing dependencies and build cruft from deleted source files. It does away with missing dependencies by doing away with explicit dependencies altogether. Build dependencies are inferred by intersecting globs; if one product takes *.c and produces *.o, and another takes *.o and produces *.lib, then the latter depends on the former. Prebake also gets the benefits of both a declarative build syntax (a la make) and the flexibility of hand coded shell scripts. It uses tightly sandboxed JavaScript and "mobile functions" to get the flexibility of a scripting language with the hard controls on side effects that allow for repeatable builds. In practice, the JS in build files looks declarative, like JSON, but the dynamism is there when you need it.