Skip to content

Pull in generative testing deps - #3

Open
gzmask wants to merge 1 commit into
masterfrom
fix-generator
Open

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

Conversation

@gzmask

@gzmask gzmask commented Feb 2, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@rymndhng

rymndhng commented Feb 12, 2018

Copy link
Copy Markdown
Contributor

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]))

@gzmask gzmask Feb 16, 2018

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 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