forked from sty1013/yamlbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
38 lines (35 loc) · 1.5 KB
/
README
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
/*******************************************************************************
* Copyright (c) 2012 Kangho Kim and Taeyoung Son.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kangho Kim <[email protected]>
* Taeyoung Son <[email protected]>
*
*******************************************************************************/
Execute using terminal
======================
1. Modify builder/build.xml file.
- Set eclipse-home's value to test target platform.
2. Export "kr.or.tyson.yamlbot" to eclipse-home's plugins folder.
3. Modify test script in "kr.or.tyson.yamlbot/test.script".
4. Just execute "ant" in test_builder.
Execute using eclipse
=====================
1. Execute eclipse.
2. Import "kr.or.tyson.yamlbot" and "builder"
3. If you run test using builder project's build.xml file, just run usnig ant build. If you run test using kr.or.tyson.yamlbot project, you should follow the below.
a. Copy plugins from builder/lib to test target platform.
b. Open Run > Run Configurations...
c. Create SWTBot Test job
d. Set Test page
- Project : kr.or.tyson.yamlbot
- test class : kr.or.tyson.yamlbot.AllTests
- Test runner : JUnit 4
e. Set Main page
- Run a product : test target platform's id
f. Close Run Configurations dialog
g. Run the test project using SWTBot Test