-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Betamax tests #26
Betamax tests #26
Conversation
rewrite UrlConnectionClientFunctionTest with groovy and Spock ensure that VERSION constant is always initialized after version property is gathered from version.properties.
betamax-snapshot should be used until new stable release won't be presented.
add betamax-generated SSL certificated to gitignore
|
I did the easy change: $ git d
diff --git a/build.gradle b/build.gradle
index bc2bcc4..d2da25d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,8 +18,7 @@ ext {
cglibVersion = "3.2.0"
objenesisVersion = "2.2"
jaxbVersion = "2.2.11"
- betamaxVersion = "2.0.0-alpha-1"
- betamaxSnapshotVersion = "2.0.0-SNAPSHOT"
+ betamaxVersion = "2.0.0"
libs = [
jaxb : "org.glassfish.jaxb:jaxb-runtime:$jaxbVersion",
junit : "junit:junit:$junitVersion",
@@ -27,7 +26,7 @@ ext {
spock : "org.spockframework:spock-core:$spockVersion",
cglib : "cglib:cglib-nodep:$cglibVersion",
objenesis: "org.objenesis:objenesis:$objenesisVersion",
- betamax : "software.betamax:betamax-junit:$betamaxSnapshotVersion"
+ betamax : "software.betamax:betamax-junit:$betamaxVersion"
]
buildTime = new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
sharedManifest = manifest { But we need to do more:
|
Ignore files output by betamax proxy
I can't get this to work in OSX, at least not on my computer. I suspect that the same command issued on Travis:
does not add to the store actually being read |
Tried adding to |
Ah... it worked now. I removed the temporary files that were generated and then re-ran:
I probably had those around since before I had added Betamax's cert to my store. |
I'll write something about this in the README and then I think we are good to go. |
LGTM! |
Same as #18, but as a local branch we can make changes to.
This will close #9.
From #18 (comment)
Reference: https://github.com/betamaxteam/betamax/blob/master/.travis.yml