有没有得到mvn网站输出的人?我在Macbook pro上获得了网站输出,我也部署了网站.但今晚没有任何作品:
[INFO] --- maven-site-plugin:2.0.1:site(default-cli)@svs-utility ---
没有生成报告或HTML
我正在尝试运行一个GHUnit测试来测试一个setter实际上适用于我的应用程序中的NSManagedObject对象.我的应用程序名为Machine,我的GHUnit目标称为测试.我已将Machine添加为Tests目标的依赖项.我在测试中的对象叫做Goal.这是代码,链接中的错误如下所示.
#import <GHUnitIOS/GHUnit.h>
#import <CoreData/CoreData.h>
#import "Goal.h"
#import "GoalRec.h"
@interface ControllerTests : GHTestCase { }
@property (retain) Goal *goal;
@end
@implementation ControllerTests
@synthesize goal;
- (BOOL)shouldRunOnMainThread {
// By default NO, but if you have a UI test or test dependent on running on the main thread return YES
return NO;
}
- (void)setUpClass {
// Run at start of all tests in the class
}
- (void)tearDownClass {
// Run at end of all tests in the class
} …Run Code Online (Sandbox Code Playgroud)