File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 23
23
- [ Grids] ( #grids )
24
24
- [ Templates] ( #templates )
25
25
- [ Roadmap] ( #roadmap )
26
+ - [ Development] ( #development )
27
+ - [ Unit Tests] ( #unit-tests )
28
+ - [ Office Integration Tests] ( #office-integration-tests )
29
+ - [ All Tests] ( #all-tests )
26
30
27
31
## Getting Started
28
32
@@ -250,3 +254,26 @@ For example, you can try:
250
254
- A way to read in a saved workbook to the ` {sheet-name [[cell]]} ` format. I'm
251
255
not sure what the best way to extract style data is, since there are so many
252
256
possible values.
257
+
258
+ ## Development
259
+
260
+ ### Unit Tests
261
+
262
+ Standard unit tests can be run with the following command:
263
+
264
+ ` $ lein test `
265
+
266
+ ### Office Integration Tests
267
+
268
+ This test selector is designed to run tests that are dependent on the presence of LibreOffice or OpenOffice.
269
+
270
+ These tests can be run with:
271
+
272
+ ` $ lein test :office-integrations `
273
+
274
+ ### All Tests
275
+
276
+ Run all tests with the following command:
277
+
278
+ ` $ lein test :all `
279
+
Original file line number Diff line number Diff line change 9
9
[org.apache.poi/poi-ooxml " 5.2.0" ]
10
10
[org.jodconverter/jodconverter-local " 4.4.2" ]]
11
11
:profiles {:test {:dependencies [[org.apache.logging.log4j/log4j-core " 2.17.1" ]
12
- [org.slf4j/slf4j-nop " 1.7.36" ]]}})
12
+ [org.slf4j/slf4j-nop " 1.7.36" ]]}}
13
+ :test-selectors {:default (complement :office-integrations )
14
+ :office-integrations :office-integrations })
Original file line number Diff line number Diff line change 3
3
[excel-clj.file :as file]
4
4
[clojure.java.io :as io]))
5
5
6
- (deftest convert-to-pdf-test
6
+ (deftest ^:office-integrations convert-to-pdf-test
7
7
(let [input-file (clojure.java.io/resource " uptime-template.xlsx" )
8
8
temp-pdf-file (io/file (file/temp " .pdf" ))]
9
9
(try
You can’t perform that action at this time.
0 commit comments