Comments (6)
Using DSpace tests (dspace-api) on Windows using IntelliJ required:
- specify -Ddspace.configuration=
- copy dspace-api/target to target/
-copy dspace/config/modules/ to target/test-classes/config/modules/ - add b2safe jar explicitly into dspace-api (File->Project Structure->dspace-api->Dependencies->jar)
- (similar with xoai)
from clarin-dspace.
follow up in #281
from clarin-dspace.
Current setup writes to database it has probably something to do with using local.properties
from clarin-dspace.
with
<filters>
<filter>local.properties</filter>
<filter>src/main/filters/testEnvironment.properties</filter>
</filters>
and with our db cofing inside there we are modifying "live" DB
from clarin-dspace.
There are quite a few issues with running the dspace tests. We found out that the dspace test creates a completely different test environment with in memory database using H2 database engine. Which means that we should create a similar setup for our utilities database as well.
Also, we need to update the testEnvironment.properties properly according to our test environment and we should not use local.properties. In our testing today the local.properties overrides the test environment and it modifies the actual database, which is totally undesired operation.
from clarin-dspace.
working now after #281
from clarin-dspace.
Related Issues (20)
- cleanup ci/automation
- Documentation updates
- Unfinished submissions not listed
- Cannot share submission by the email.
- Metadata changes HOT 3
- LicenseFileDownloadStatistic HOT 2
- matomo pdf reports HOT 2
- local-types.xml files comparison 5 vs 7.2 HOT 10
- Download all files and download instructions for cmd buttons are missing
- Curation tasks are missing
- Healthcheck tasks are missing
- Refbox bibtex/cmdi citation is not copied automatically after opening the box with content
- Show Item versions in the dropbox instead of history table
- embargo HOT 1
- Licenses HOT 5
- Embargo incl. metadata HOT 1
- Community facet field should not be analyzed
- glitches with no_email workflow
- Imported item should not regenerate certain metadata fields
- Adding metadata fields in anoter language? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clarin-dspace.