This file contains 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
$: << File.expand_path(File.dirname(__FILE__) + "/lib") | |
require 'rake' | |
require 'rspec/core/rake_task' | |
desc "Run all the specs" | |
RSpec::Core::RakeTask.new do |t| | |
t.pattern = ENV['spec'] || 'spec/**/*_spec.rb' | |
t.rspec_opts = ["--color"] | |
end |
This file contains 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
var Blitz = require('../lib/blitz.js'); | |
describe("Blitz", function () { | |
it("should return a Rush Result object", function () { | |
var finished = false; | |
runs (function() { | |
Blitz('user', 'key', 'localhost', 9295) | |
.rush({ | |
user: 'c123', | |
pattern: { intervals: []}, |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:composite="http://java.sun.com/jsf/composite"> | |
<!-- INTERFACE --> | |
<composite:interface> | |
<composite:attribute name="for" required="true"/> | |
<composite:attribute name="rendered" default="true"/> |
This file contains 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
from blitz.sprint import Sprint | |
from blitz.rush import Rush | |
def callback(): | |
print("SUCCESS") | |
def sprint(): | |
options = {'url': "http://your.cool.app"} | |
s = Sprint('[email protected]', 'aqbcdge-sjfkgurti-sjdhgft-skdiues') | |
s.execute(options, callback) |
This file contains 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
var Blitz = require('blitz'); | |
var email = "[email protected]", | |
apiKey = "aqbcdge-sjfkgurti-sjdhgft-skdiues", | |
myWebsite = "http://your.cool.app", | |
blitz= new Blitz(email, apiKey); | |
// Run a sprint | |
blitz.sprint({ | |
steps: [{url: myWebsite}], |
This file contains 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
<project> | |
<groupId>com.example</groupId> | |
<artifactId>my-cool-app</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>My Cool App</name> | |
<url>http://your.cool.app</url> | |
<build> |
This file contains 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
package com.example; | |
import java.net.URL; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import io.blitz.curl.*; | |
import io.blitz.curl.config.*; | |
import io.blitz.curl.rush.*; | |
import io.blitz.curl.sprint.*; |