Skip to content
Neo Blockchain (version 2.x) - mirror from neo-project (branches master-2.x)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Integration.Tests
neo @ d993e4d
neo-cli @ e04e881
neo-plugins @ 656283b
neo-vm @ 15170c4
.gitignore
.gitmodules
CompileScript.sh
Dockerfile
README.md
docker_build.sh
docker_run.sh
makefile

README.md

neo2

Neo Blockchain (version 2.x)

contents

This project consists of the following main projects on Neo Blockchain 2.x:

  • neo: Core features from Neo Blockchain 2.x
    • from branch master-2.x at https://github.com/neo-project/neo
  • neo-cli: Command line tools for Neo Blockchain 2.x
    • from branch master-2.x at https://github.com/neo-project/neo-cli
  • neo-vm: NeoVM 2.x (Neo Virtual Machine)
    • from branch master-2.x at https://github.com/neo-project/neo-vm
  • neo-plugins: Plugins for Neo Blockchain 2.x (main plugin is SimplePolicy that manages transaction selection for mempool and for blocks)
    • from branch master-2.x at https://github.com/neo-project/neo-plugins

roadmap

This project intends to keep track of the original branches at neo-project, and perhaps add some extra independent Unit Testing here that aggregates the whole four projects.

showing Internals

To provide deeper testing (not fully in scope here), must add [assembly: InternalsVisibleTo("Integration.UnitTests")] to a few files

  • neo/neo/Properties/AssemblyInfo.cs
  • neo-plugins/SimplePolicy/SimplePolicyPlugin.cs

Editor configuration

You can use code (VSCode) editor to easily perform tests, as long as you have dotnet version 2.2.100 (or newer).

On code, you can install .NET Core Test Explorer by formulahendry. It will require you to set English as main language... This is how we solved on Portuguese:

sudo mv /usr/share/dotnet/sdk/2.2.203/pt-BR /usr/share/dotnet/sdk/2.2.203/pt-BR-2

After that, just code neo/

On VSCode settings.json (or similar) you must add line:

"dotnet-test-explorer.testProjectPath" : "neo.UnitTests/*.csproj"

License

Same as all projects: MIT License

NeoResearch Community

You can’t perform that action at this time.