This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import co.freeside.betamax.TapeMode | |
import co.freeside.betamax.Recorder | |
import co.freeside.betamax.proxy.jetty.ProxyServer | |
trait Betamax extends Wrapped{ | |
def betamax(tape: String, mode: Option[TapeMode] = None)(testFun: => Unit) = { | |
println("Starting Betamax") | |
val recorder = new Recorder | |
val proxyServer = new ProxyServer(recorder) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Response> | |
<Pause length="10" /> | |
<Say>pausing</Say> | |
<Pause length="10" /> | |
</Response> | |
and | |
<?xml version="1.0" encoding="utf-8"?> |