Nextcloud Server
Go to file
Daniel Calviño Sánchez 4c620f1fcb Add helper context to isolate the test server with Docker containers
Scenarios in acceptance tests must be independent one of each other.
That is, the execution of one scenario can not affect the execution of
another scenario, nor it can depend on the result of the execution of a
different scenario. Each scenario must be isolated and self-contained.
As the acceptance tests are run against a Nextcloud server the server
must be in a known and predefined initial state each time a scenario
begins.

The NextcloudTestServerContext is introduced to automatically set up the
Nextcloud test server for each scenario.

This can be achieved using Docker containers. Before an scenario begins
a new Docker container with a Nextcloud server is run; the scenario is
then run against the server provided by the container. When the scenario
ends the container is destroyed. As long as the Nextcloud server uses
local data storage each scenario is thus isolated from the rest.

The NextcloudTestServerContext also notifies its sibling RawMinkContexts
about the base URL of the Nextcloud test server being used in each
scenario.

Although it uses the Behat context system, NextcloudTestServerContext is
not really part of the acceptance tests, but a provider of core features
needed by them; it can be seen as part of a Nextcloud acceptance test
library. Therefore, those classes are stored in the "core" directory
instead of the "bootstrap" directory. Besides its own (quite limited)
autoload configuration, Behat also uses the Composer autoloader, so the
"core" directory has to be added there for its classes to be found by
Behat.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-04-19 08:26:03 +02:00
.idea
3rdparty@8403b2b676 [3rdparty] Bump phpseclib to 2.0.4 2017-03-30 09:43:59 +02:00
apps [tx-robot] updated from transifex 2017-04-19 00:07:40 +00:00
build Add helper context to isolate the test server with Docker containers 2017-04-19 08:26:03 +02:00
config
contribute
core [tx-robot] updated from transifex 2017-04-19 00:07:40 +00:00
l10n
lib Merge pull request #4371 from nextcloud/dont-allow-dot-usernames 2017-04-18 20:04:32 -05:00
ocs Don't force the use of Accept-Language anymore 2017-04-07 11:10:04 +02:00
ocs-provider
resources Update CA bundle 2017-04-13 11:56:09 +02:00
settings [tx-robot] updated from transifex 2017-04-19 00:07:40 +00:00
tests Merge pull request #4371 from nextcloud/dont-allow-dot-usernames 2017-04-18 20:04:32 -05:00
themes rename confusing getMailHeaderColor to getColorPrimary, ref #3491 2017-03-29 18:23:23 +02:00
.bowerrc
.codecov.yml
.drone.yml Enable testing app in CI step 2017-04-13 12:00:18 +02:00
.gitignore Fix tests 2017-04-04 10:29:12 +02:00
.gitmodules
.htaccess Added to public interface 2017-04-13 12:58:49 +02:00
.jshintrc
.lgtm
.mailmap
.mention-bot
.scrutinizer.yml
.tag
.user.ini
AUTHORS
autotest-external.sh
autotest-hhvm.sh
autotest-js.sh
autotest.sh
bower.json [js] Bump blueimp-md5 a major version 2017-04-10 20:56:56 +02:00
buildjsdocs.sh
CHANGELOG.md
composer.json
console.php
CONTRIBUTING.md
COPYING
COPYING-README
cron.php
db_structure.xml add new password column to the share table in order to set passwords for share by mails 2017-04-03 10:20:49 +02:00
index.html
index.php
issue_template.md Rename config section 2017-04-05 11:00:33 +02:00
occ
public.php
README.md
remote.php Don't force the use of Accept-Language anymore 2017-04-07 11:10:04 +02:00
robots.txt
status.php
version.php add new password column to the share table in order to set passwords for share by mails 2017-04-03 10:20:49 +02:00

Nextcloud Server

Scrutinizer Code Quality codecov CII Best Practices irc irc

A safe home for all your data.

Why is this so awesome?

  • 📁 Access your Data You can store your files, contacts, calendars and more on a server of your choosing.
  • 📦 Sync your Data You keep your files, contacts, calendars and more synchronized amongst your devices.
  • 🔄 Share your Data …by giving others access to the stuff you want them to see or to collaborate with.
  • 🚀 Expandable with dozens of Apps ...like Calendar, Contacts, Mail and all those you can discover in our App Store
  • 🔒 Security with our encryption mechanisms, HackerOne bounty program and two-factor authentification.

You want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and at your Enterprise? Learn about all our Features.

Get your Nextcloud

Enterprise? Public Sector or Education user? You may want to have a look into the Enterprise Support Subscription provided by the Nextcloud GmbH

Get in touch

…learn more about how to get support for Nextcloud here!

Contribution Guidelines

All contributions to this repository from June, 16 2016 on are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:

@copyright Copyright (c) <year>, <your name> (<your email address>)

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information how to contribute: https://nextcloud.com/contribute/

Running master checkouts

Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.

Several apps by default included in regular releases like firstrunwizard or gallery are missing in master and have to be installed manually as required.

That aside Git checkouts can be handled the same as release archives.

Note they should never be used on production systems.