aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-04-30 10:24:00 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-04-30 10:24:00 +0800
commita85f242030f8fa0d74c9d82485d0649926bc6db4 (patch)
tree43c7850b7c01c635d36f368c108f6305b10e13f2 /tests
parentcdc843f06b90acf71211a684ba32cd92c765230d (diff)
parent0d6856dbe73c8041451743946fb324663350a687 (diff)
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'tests')
-rw-r--r--tests/.travel.yml9
-rw-r--r--tests/README.md13
-rw-r--r--tests/default_test.go17
3 files changed, 0 insertions, 39 deletions
diff --git a/tests/.travel.yml b/tests/.travel.yml
deleted file mode 100644
index 09a5752b..00000000
--- a/tests/.travel.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-command: go test -v {}
-include: ^.+_test\.go$
-path: ./
-depth: 1
-verbose: true
-timeout: 1m
-reload: false
-html: test.html
-notify: []
diff --git a/tests/README.md b/tests/README.md
deleted file mode 100644
index e51b2510..00000000
--- a/tests/README.md
+++ /dev/null
@@ -1,13 +0,0 @@
-## Gogs Test
-
-This is for developers.
-
-## Prepare Environment
-
- go get -u github.com/shxsun/travelexec
- # start gogs server
- gogs web
-
-## Start Testing
-
- travelexec
diff --git a/tests/default_test.go b/tests/default_test.go
deleted file mode 100644
index d6f3a03b..00000000
--- a/tests/default_test.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package test
-
-import (
- "net/http"
- "testing"
-)
-
-func TestMain(t *testing.T) {
- r, err := http.Get("http://localhost:3000/")
- if err != nil {
- t.Fatal(err)
- }
- defer r.Body.Close()
- if r.StatusCode != http.StatusOK {
- t.Error(r.StatusCode)
- }
-}