All Projects → TarsCloud → Tars-Unittest

TarsCloud / Tars-Unittest

Licence: BSD-3-Clause License
unit testcase of tars

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Tars-Unittest

TarsTup
Tars tup protocol
Stars: ✭ 49 (+250%)
Mutual labels:  tars, tars-foundation
TarsDocker
Tars Docker images
Stars: ✭ 81 (+478.57%)
Mutual labels:  tars, tars-foundation
TarsDocs en
The documentation of TARS in English
Stars: ✭ 16 (+14.29%)
Mutual labels:  tars, tars-foundation
Tars
Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
Stars: ✭ 9,277 (+66164.29%)
Mutual labels:  tars, tars-foundation
Tarsgo
Tarsgo is high performance RPC framework in Golang programing language using the tars protocol. Go has become popular for programming with the rise of containerization technology such as docker, k8s, and etcd. Go's goroutine concurrency mechanism means Go is very suitable for large-scale high-concurrency back-end server program development. The Go language has nearly C/C++ performance and near Python productivity. In Tencent, part of the existing C++ development team has gradually turned into Go developers. Tars, a widely used RPC framework, supports C++, Java, NodeJS, and PHP, and now Go. The combination with Go language has become a general trend. Therefore, in the voice of users, we launched Tarsgo, and we have applied to Tencent map application, YingYongbao application, Internet plus and other projects. Learn more about the whole Tars architecture and design at Introduction.
Stars: ✭ 2,931 (+20835.71%)
Mutual labels:  tars, tars-foundation
TarsJMeter
The bridge connecting JMeter and Tars, it ensures that people can efficiently use JMeter to complete the stress test of Tars microservices
Stars: ✭ 28 (+100%)
Mutual labels:  tars-foundation
Tars.Csharp
[give up] 所有内容现已在 https://github.com/TarsNET 重新开始
Stars: ✭ 24 (+71.43%)
Mutual labels:  tars
TarsGateway
No description or website provided.
Stars: ✭ 46 (+228.57%)
Mutual labels:  tars-foundation
K8STARS
Native Kubernetes Solution for TARS Services
Stars: ✭ 55 (+292.86%)
Mutual labels:  tars-foundation
doc
📖 TarsPHP Document
Stars: ✭ 32 (+128.57%)
Mutual labels:  tars

点我查看中文版

Description of Tars-Test

The development of Tars-Test(unit testcase of Tarscpp) is mainly based on the GoogleTest test framework. For details on GoogleTest, please see [Official Documentation] (https://github.com/abseil/googletest/blob/master/googletest/docs/primer.md) .
The current testcases have covered the basic scenario of the RPC service.

Dependent environment

Since Tars-Test is based on GoogleTest, you need to install GoogleTest and generate related files for coverage, as follows:

[sudo] yum install gtest-devel lcov

instructions for use

在tarscpp/build下编译:

cmake .. -DONLY_LIB=OFF
make -j8
make run-unittest

How to add one testcase

The test case code in the current project is mainly in the testcode folder, and subsequent files and test cases can be added as needed. New test cases can reuse existing OBJs, services, and applications. If you need to deploy new services or OBJs, you can add services to the protocol folder. Related code, the new server configuration file can be added to the conf folder.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].