-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIProjectSource.cs
51 lines (42 loc) · 1.35 KB
/
IProjectSource.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Collections.Generic;
using System.IO;
namespace ContinuousRunner
{
using Frameworks;
public interface IProjectSource : IComparable<IProjectSource>
{
/// <summary>
/// The file associated with this JavaScript item
/// </summary>
FileInfo File { get; }
/// <summary>
/// Get a collection of test suites defined in this script
/// </summary>
IEnumerable<TestSuite> Suites { get; }
/// <summary>
/// Raw JavaScript content of this script
/// </summary>
string Content { get; }
/// <summary>
/// A simple description of this script for display purposes
/// </summary>
string Description { get; }
/// <summary>
/// The number of tests defined in this script (may change on reload)
/// </summary>
int TestCount { get; }
/// <summary>
/// What frameworks does this script use? (eg., RequireJS)
/// </summary>
Framework Frameworks { get; }
/// <summary>
/// Logs produced when running this script
/// </summary>
IList<Tuple<DateTime, Severity, string>> Logs { get; }
/// <summary>
/// Reload the contents of this script since it has changed on disk
/// </summary>
void Reload();
}
}