Add github test action (#73)

* Add github test action

* add mock tests
This commit is contained in:
Jethro Kuan
2020-02-13 16:41:27 +08:00
committed by GitHub
parent e00538f909
commit 9cd12a4f11
3 changed files with 105 additions and 1 deletions

35
tests/test-org-roam.el Normal file
View File

@ -0,0 +1,35 @@
;;; test-org-roam.el --- Tests for org-roam -*- lexical-binding: t; -*-
;; Copyright (C) 2020 Jethro Kuan
;; Author: Jethro Kuan <jethrokuan95@gmail.com>
;; Package-Requires: ((buttercup))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;;
;;; Code:
;;;; Requirements
(require 'buttercup)
(require 'org-roam)
;;; Tests
(describe "Org-roam cache"
(it "Mock Test"
(expect t :to-be t)))