mspec
Does MSpec produce a TRX result file after running tests?
Does MSpec produce a开发者_运维技巧 TRX result file after running tests?If not, can it? The tests are being run with ReSharper.The feature of ReSharper that you\'re talking about is just a test runner[详细]
2023-04-13 00:42 分类:问答How do I assert that a method is called only once?
[Subject(typeof(OnceADayProcessor))] public class When_processing_process_twice { private static ICanBeProcessedOnceADay ProcessedOnceADay;[详细]
2023-04-04 01:59 分类:问答MSpec, what should I put in my [Subject()] attributes?
I\'ve been using MSpec for a little while and I really like it. I\'ve found that to get ReSharper to recognize my specifications, I need to use a SubjectAttribute.[详细]
2023-03-29 19:21 分类:问答How to effectively test a fixed length flat file parser using MSpec?
I have this method signature: List<ITMData> Parse(string[] lines) ITMData has 35 properties. How would you effectively test such a parser?[详细]
2023-03-28 05:28 分类:问答Can this MSpec test be improved?
As a BDD and MSpec beginner I am still not so sure about best practises and good habits related to BDD in general and specifically to MSpec.[详细]
2023-03-27 09:06 分类:问答How do I suppress or fix Visual Studio warnings that MSpec Behaves_like fields are unused?
I am writing idiomatic MSpec specs using Behaviors and Behaves_like fields [Subject(typeof(IUnitMaskConverter))][详细]
2023-03-26 18:39 分类:问答How do I get ReSharper to stop placing explicit access modifiers on my MSpec members?
I\'m using Machine.Specifications and I\'m really annoyed by how VS2010/Resharper keeps trying to format my code... for example:[详细]
2023-03-14 08:20 分类:问答How do I run setup and teardown code with each test in MSpec?
I have generi开发者_开发问答c code for setting up and tearing down NHibernate, which I need on pretty much all my tests. Is there a way to include the \'need for all tests\' code in one place, then ha[详细]
2023-03-03 20:56 分类:问答MSpec and SpecFlow when to use which? What are the advantages/disadvantages of either?
I am trying to get started with BDD and found a view blog posts about MSpec and SpecFlow. I\'m currently not quite sure when I would use which and what the advantages/disadvantages of either framework[详细]
2023-03-01 09:24 分类:问答Confusion about functional testing, BDD and TDD
I have a form where several fields have to be filled in. However, only one field is compulsory. So, I came up with the following spec:[详细]
2023-02-28 07:58 分类:问答