public void TestCardTransitions() { var project = _mingle.GetProject("test"); var card = project.GetCard(91); var actual = card.Transitions.Count; const int expected = 4; Assert.AreEqual(expected, actual); }
/// <summary> /// Calls the execute_mql API /// </summary> /// <param name="project"></param> /// <param name="mql"></param> /// <returns></returns> public XElement ExecMql(string project, string mql) { return(string.IsNullOrEmpty(mql) ? null : _mingle.GetProject(project).ExecMql(mql)); }
public static void MyClassInitialize(TestContext testContext) { _mingle = new MingleServer(MingleHost, MINGLEUSER, MINGLEPASSWORD); _project = _mingle.GetProject("apitest"); }