- Download the perforce visual tool suite from here: http://www.perforce.com/perforce/downloads/index.html
- Copy only the p4merge.app file into your /Applications/ directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Backup from https://lukewickstead.wordpress.com/2013/01/18/ninject-cheat-sheet/ | |
// **** DETERMINING WHICH CONSTRUCTOR TO USE **** | |
// The main DI pattern is Constructor Injection | |
// A known constructor parameter is one which has been explicitly bound | |
// An unknown constructor parameter is one which has not been explicitly bound even if it has a resolvable constructor the following order defines which constructor is used | |
// 1. User defined costructor marked with [Inject] attribute | |
// 2. The constructor with the most known bound parameters. | |
// 3. The default parameterless constructor | |
// **** PROPERTY / METHOD INJECTION |
This is a cheat sheet I prepared when testing migrations between MBUnit and NUnit. It only covers the areas we used so it's far from complete. It should give a good head start though.
MBUnit | NUnit |
---|---|
[FixtureSetUp] | [OneTimeSetUp] |
[Row] | [TestCase] |
[Factory] | [TestCaseSource] for test cases, [ValueSource] for individual parameters |
[Column] | [Values] |
[SequentialJoin] | [Sequential] |
[CombinatorialJoin] | [Combinatorial] |