Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Create some tests that act as a contract for all Platforms (PlatformLaws) #512

Open
isnotinvain opened this issue May 21, 2014 · 4 comments
Labels

Comments

@isnotinvain
Copy link
Contributor

Writing the tests for SparkLaws lead me to think that there should really be a platform agnostic set of laws, or at least a PlatformLaws base class. There's a lot of overlap with the scalding platform in these tests. Having a PlatformLaws test suite would also better describe the contract and expected behavior of all platforms.

@adamkozuch
Copy link
Contributor

Anybody working on that? I would like to try do that.
For now that test should be base for ScaldingLaws, StormLaws and SparkLaws. Am I correct?
Should I use specs2?

@egonina
Copy link
Contributor

egonina commented Feb 18, 2015

Great! Noone's working on this, afaik. We also have MemoryLaws and ConcurrentMemoryLaws. I believe we prefer using scalatest now, @johnynek please advise.

@isnotinvain
Copy link
Contributor Author

I'm not sure but we might need two base sets of laws, laws for online and laws for offline

@adamkozuch
Copy link
Contributor

If ScalaTest should it be 2.2.2 version? I noticed val with version in Build.scala but no dependency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants