This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Repository navigation
Betamax tests - #26
Merged
Merged
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
Contributor
Author
|
Contributor
Author
|
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
Contributor
|
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 |
Contributor
|
Tried adding to |
Contributor
|
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. |
Contributor
|
I'll write something about this in the README and then I think we are good to go. |
Contributor
|
LGTM! |
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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