Skip to content

Pull in generative testing deps#3

Open
gzmask wants to merge 1 commit intomasterfrom
fix-generator
Open

Pull in generative testing deps#3
gzmask wants to merge 1 commit intomasterfrom
fix-generator

Conversation

@gzmask
Copy link
Copy Markdown
Contributor

@gzmask gzmask commented Feb 2, 2018

No description provided.

@rymndhng
Copy link
Copy Markdown
Contributor

rymndhng commented Feb 12, 2018

Is this PR still relevent? I'm also standardizing the way we're setting opts. We should use a map for consistency for now. See #4

Comment thread project.clj
:license {:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"
:comments "Copyright (c) 2018 Unbounce Marketing Solutions Inc."}
:profiles {:dev {:dependencies [[org.clojure/test.check "0.9.0"]]}}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is still relevant as generative testing rely on this dependency.

(s/def ::metric string?)
(s/def ::tags (s/coll-of string? :kind vector?))
(s/def ::opts (s/keys :req-un [::tags ::sample-rate]))
(s/def ::opts* (s/keys* :req-un [::tags ::sample-rate]))
Copy link
Copy Markdown
Contributor Author

@gzmask gzmask Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is also nice to have for (f :key 'value') compare to (f {:key 'value}) .
But agrees that we should only be using one and not both styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants