You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fake should be able to split a MSBuild-project into a test and implementation project #4
I don't know fake's functionality, so bare with me on that. However, I'd recommend to split the feature into smaller chunks and implement filtering first. In the context of a release build, the benefit of having specifications packaged is rather small. I wouldn't drop the idea entirely though, just postpone it. IMHO it's good enough for a first shot to just filter out the specs using conventions.
Conventions may differ for different spec. frameworks, so filter criteria needs to be adjustable.
Once the filter (for files and test dll's) is done, you soon will recon the need for a "boarding" build. But for the sake of simplicity, filter would satisfy a lot!
This feature would be one more great reason to switch over to fake. I'll surely have a look! Thanks!
we had an interesting discussion about side-by-side specifications at the .NET OpenSpace in Karlsruhe. The idea is to put specs, test data and implementation next to each other since the specs are documentation for the implementation.
I love it. I had thought about that at one point, but I've now gotten so used to having completely separate folder structures/projects for tests/specs. I'd love them to be together again, though. Great idea!
Activity
ilkerde commentedon Jul 2, 2010
I don't know fake's functionality, so bare with me on that. However, I'd recommend to split the feature into smaller chunks and implement filtering first. In the context of a release build, the benefit of having specifications packaged is rather small. I wouldn't drop the idea entirely though, just postpone it. IMHO it's good enough for a first shot to just filter out the specs using conventions.
Conventions may differ for different spec. frameworks, so filter criteria needs to be adjustable.
Once the filter (for files and test dll's) is done, you soon will recon the need for a "boarding" build. But for the sake of simplicity, filter would satisfy a lot!
This feature would be one more great reason to switch over to fake. I'll surely have a look! Thanks!
AlexZeitler commentedon Jul 2, 2010
I agree with Ilker - there's no need to elaborate ;-)
panesofglass commentedon Jul 6, 2010
Interesting. I've never thought of the need for this before. Why aren't you already using separate projects?
forki commentedon Jul 6, 2010
Hi Ryan,
we had an interesting discussion about side-by-side specifications at the .NET OpenSpace in Karlsruhe. The idea is to put specs, test data and implementation next to each other since the specs are documentation for the implementation.
By using a tool like http://mokosh.co.uk/vscommands/ we are able to group the implementation with the specs (see http://gist.github.com/457248).
But of course we don't want to deploy the tests. By automatically removing all spec files and test framework references we can easily build a release.
What do you think?
Regards,
Steffen
panesofglass commentedon Jul 8, 2010
I love it. I had thought about that at one point, but I've now gotten so used to having completely separate folder structures/projects for tests/specs. I'd love them to be together again, though. Great idea!
forki commentedon Jul 11, 2010
First version in 1.33.0 released
Merge pull request #4 from quezlatch/copydir_coreclr