Ứng dụngVisual Studio 2026, Visual Studio 2022
Nền tảngWindows, macOS, Linux
LicenseSubscription License
LoạiMocking tool
Telerik

Telerik JustMock

Công cụ mocking cho unit test.NET, hỗ trợ cô lập dependency như database, web service và thư viện bên thứ ba. Telerik JustMock còn mock được static, sealed, non-virtual và cả MsCorLib members.

  • Mock interfaces trong các bài unit test.NET.
  • Mock virtual và abstract methods, properties.
  • Mock sealed classes khi dependency khó thay thế.
  • Mock non-virtual methods và properties.
Bản quyền chính hãngTư vấn phiên bản và license phù hợp theo nhu cầu sử dụng.
Tư vấn license phù hợpHỗ trợ lựa chọn license theo quy mô triển khai và ngân sách.
Hỗ trợ doanh nghiệpTư vấn mua hàng, triển khai và hồ sơ doanh nghiệp.
Báo giá theo nhu cầuBáo giá theo phiên bản, số lượng và hình thức license.

Tổng quan

Telerik JustMock tập trung vào bài toán mocking trong unit testing cho.NET, nơi các dependency như database, web service hoặc thư viện bên thứ ba thường làm bài test khó cấu hình và khó bảo trì.

Telerik JustMock - Arrange, Act, AssertThis simple pattern, Arrange, Act, Assert (AAA) makes it easy to quickly and intuitively mock objects in unit tests.

Khi thay thế các đối tượng thật bằng fake objects, nhóm phát triển có thể kiểm thử trực tiếp phần business logic thay vì xử lý trạng thái của hệ thống bên ngoài. Phạm vi mock của JustMock rất rộng.

Telerik JustMock - Elevated MockingJustMock provides for unrestricted mocking of dependent objects, including non-virtual methods, sealed classes, static method

Công cụ này hỗ trợ interfaces, virtual và abstract methods, sealed classes, non-virtual methods, static classes, static methods, non-public members và cả MsCorLib members. Danh sách còn bao gồm DateTime, File, FileInfo, LINQ queries, generics, delegates, Entity Framework extension methods, named arguments, local functions, ref return values, ref locals, DLL Imports, Threadpool và Microsoft SharePoint.

Telerik JustMock - Fully Profiled AutomockingFully profiled automocking saves you time and effort by creating an instance of a class (the system under test) wit

Tính năng nổi bật

  • Mock interfaces trong các bài unit test.NET.
  • Mock virtual và abstract methods, properties.
  • Mock sealed classes khi dependency khó thay thế.
  • Mock static classes, methods và properties.
  • Mock private, protected, internal members và types.
  • Mock MsCorLib members cùng DateTime, File, FileInfo.

Ứng dụng thực tế

  • Kiểm thử business logic mà không phụ thuộc vào database thật.
  • Cô lập request tới web services trong unit test.
  • Thay thế dependency từ third-party libraries bằng mock objects.
  • Kiểm thử legacy.NET code chứa static, sealed hoặc non-virtual members.
  • Phân tích hành vi gọi mock trong lúc debug unit tests.

Đối tượng sử dụng phù hợp

  • Lập trình viên.NET viết unit test
  • Tech lead quản lý chất lượng mã nguồn
  • QA automation engineer làm việc với test framework.NET
  • Nhóm bảo trì legacy.NET applications

Thông tin kỹ thuật

Supported Languages:C#, VB and F#.
Testing Frameworks:MSTest 2, MSTest, NUnit, xUnit.
Build System Integration:Azure DevOps, MSBuild, Command Line Execution.
Other Tool Integration:Visual Studio Code Coverage, Visual Studio IntelliTrace, JetBrains dotCover, JetBrains dotTrace, OpenCover, NCover, PostSharp.
Supported.NET Versions:.NET Core 3.1,5,6+;.NET Framework 4.5+.
Compatibility Containers:Visual Studio 2026, Visual Studio 2022, Visual Studio 2019.
Nhận báo giá phần mềm bản quyền

Điền thông tin để chúng tôi có thể gửi báo giá phù hợp trong thời gian sớm nhất.

Câu hỏi thường gặp

JustMock dùng để làm gì?

JustMock dùng để tạo mock objects trong unit test, giúp cô lập code đang kiểm thử khỏi dependency như database, web service hoặc thư viện bên thứ ba.

JustMock có thể mock những thành phần nào?

Công cụ hỗ trợ interfaces, virtual và abstract members, sealed classes, non-virtual members, static classes, static methods, non-public members, MsCorLib members và system API như DateTime, File, FileInfo.

JustMock tích hợp với framework kiểm thử nào?

Danh sách tích hợp gồm MSTest 2, MSTest, NUnit và xUnit.

JustMock hỗ trợ hệ điều hành nào?

Compatibility liệt kê Windows 11, Windows 10, Windows Server 2022, Ubuntu 22.04 or later và macOS 15.0 or later.

Có những tùy chọn giấy phép nào trong dữ liệu hiện có?

Dữ liệu hiện có nêu 1 Developer 1 Year Subscription License (with AI Productivity Tools) - with Lite Support - Yearly Plan với giá US$ 338.53.

Bình luận

Để lại bình luận

Email của bạn sẽ không được công khai. Trường bắt buộc có dấu *.