Coder Social home page Coder Social logo

test's Introduction

CI

Join our Discord to discuss about our software!

@hyperifyio/test

This is a unit test environment for our TypeScript libraries.

Our own projects usually require very few dependencies. Adding all testing tools would add over 300 dependencies to our projects, which can be burdensome. Instead, we have created this separate testing environment to keep our projects lightweight while still providing a comprehensive testing environment.

This separation also makes it easier to run newer tests against older versions of the project to test backwards compatibility.

Working on the Development Environment

Fetching the Source Code

To get started, clone the repository and initialize the submodules:

git clone [email protected]:hyperifyio/test.git test
cd test
git submodule update --init --recursive

Updating the Source Code Modules

Next, install the necessary dependencies:

npm install

Clearing the Cache

There may be instances where you need to clear the cache, such as when you encounter errors about non-existent files. To clear the cache, run the following command:

npm run clear

This will remove any cached files and allow you to start fresh. Note that this may cause some tasks to take longer to run the next time they are executed, as the system will need to rebuild the cache from scratch.

Updating source code modules

To update the source code modules to the latest version, run:

./scripts/pull-all.sh

Libraries

Repository Summary
@hyperifyio/io.hyperify.core The core module
@hyperifyio/io.hyperify.node The backend and NodeJS module
@hyperifyio/io.hyperify.frontend The frontend and ReactJS module
@hyperifyio/io.hyperify.pg The PostgreSQL module
@hyperifyio/io.hyperify.mysql The MySQL module
@hyperifyio/io.hyperify.testing The testing module

Running Tests

To run the tests once:

npm run test:ci

While developing code, you can use the following command to continuously run tests as you make changes:

npm test

Development with GitHub Using SSH

To use SSH when working with submodules in this repository, you will need to configure your Git settings as follows:

git config --global url."[email protected]:hyperifyio/".insteadOf "https://github.com/hyperifyio/"

This configuration is necessary because the repository uses HTTPS links for read-only access. However, you may prefer to use SSH when pushing and pulling changes.

License

Copyright (c) Heusala Group Ltd. All rights reserved.

Each software release is initially under the HG Evaluation and Non-Commercial License for the first two years. This allows use, modification, and distribution for non-commercial and evaluation purposes only. Post this period, the license transitions to the standard MIT license, permitting broader usage, including commercial applications. For full details, refer to the LICENSE.md file.

Commercial usage licenses can be obtained under separate agreements.

test's People

Contributors

thejhh avatar

Watchers

 avatar  avatar

test's Issues

QA

Goal

Improve quality of our TypeScript git modules.

Iterations

Other

Backlog

Goal

The purpose of this issue is to serve as a comprehensive tracker for all unresolved issues within the Hyperify IO TypeScript git modules that have not been assigned to a specific release. It aims to organize and prioritize these issues effectively to facilitate future scheduling and ensure nothing is overlooked in the development process.

Bugs

  • Placeholder

Tasks

  • Placeholder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.