Skip to content

Commit

Permalink
Fix: Move from MSTest to NUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
aloisdg committed Aug 24, 2015
1 parent 60935b2 commit 6035869
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions SharpResume.Tests/UnitTest.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using SharpResume.Model;
using Assert = Microsoft.VisualStudio.TestTools.UnitTesting.Assert;
using Assert = NUnit.Framework.Assert;

namespace SharpResume.Tests
{
[TestClass]
[TestFixture]
public class UnitTest
{
const string JsonName = "resume.json";
Expand All @@ -21,14 +17,14 @@ public class UnitTest
readonly Resume _resume = Resume.Create(_json);
readonly dynamic _expected = JObject.Parse(_json);

[TestMethod]
[Test]
public void TestName()
{
string name = _expected.basics.name;
Assert.AreEqual(name, _resume.Basics.Name);
}

[TestMethod]
[Test]
public void TestCoursesCount()
{
var educations = _expected.education.ToObject<List<Education>>();
Expand Down

0 comments on commit 6035869

Please sign in to comment.