JavaScript Testing: Getting started with Jasmine
Probably the most widely used JavaScript testing framework.
This tutorial covers installation, configuration and execution only. For the Jasmine syntax, see parts 2 to 4!
Probably the most widely used JavaScript testing framework.
This tutorial covers installation, configuration and execution only. For the Jasmine syntax, see parts 2 to 4!
EPPlus can do a whole lot more for you. This post covers some interesting stuff that didn’t really fit anywhere else.
Exporting data to an Excel doesn’t get easier than this
using (var package = new ExcelPackage())
{
var sheet = package.Workbook.Worksheets.Add("IEnumerable");
var data = new[]
{
new {Name = "A", Value = 1},
new {Name = "B", Value = 2},
new {Name = "C", Value = 3},
};
sheet.Cells["A1"].LoadFromCollection(data);
sheet.Cells["A1"].SetHeaders("Name", "Value");
package.SaveAs(new FileInfo(@""));
}
Comparing NSubstitute syntax with Moq, probably the most used mocking framework out there at the moment.
In case your users want to continue working with the Excels after generation.
Not a problem for EPPlus. Instead of calculating values and writing them to an excel, leverage the power of Excel formulas.
Quick tutorial about creating xlsx Excels with C# and the EPPlus nuget package.
EPPlus Excel addresses are not zero based: The first column is column 1!
Also, before writing any loops, you might want to check out the LoadFromXXX
methods.
They are explained in depth in part 3 Import.
A listing of handy but less known shortcuts in Windows Explorer and some Autohotkey examples on how to add extra functionality.
Open Windows Explorer, the most direct way:
My PowerShell, Posh-Git and .gitconfig color configuration because of some red-green troubles with the default configurations.
Last update on Jan 16, 2020
Published to the PowerShell Gallery
Last update on Dec 30, 2019
PS scripts to remap remote urls & create a PR
Last update on Jan 18, 2019
await/async is pretty standard now. Added expectAsync examples.
Last update on Jan 17, 2019
Added reporter plugins
Last update on Sep 4, 2018
Updated locations for PowerShell Core
Last update on Aug 30, 2018
Hijacking Windows + E