개발자:
가격: 무료
순위: 0 
리뷰: 0 리뷰 작성
목록: 1 + 0
포인트: 2 + 0 ¡
Mac App Store

기술

Rubicon
Swift parser + mock generator + Xcode extension
https://github.com/raptorxcz/Rubicon

Rubicon generates spys, stub, mocks and dummies for protocols. Generating methods for parent protocol is not supported.

example:

input:

protocol Car {
var name: String? { get }
var color: Int { get set }

@MainActor
func go()
func load(with stuff: Int, label: String) throws -> Int
func isFull() -> Bool
func download() async throws -> [String]
}

output:

spy:

final class CarSpy: Car {
struct Load {
let stuff: Int
let label: String
}

var name: String?
var color: Int
var loadThrowBlock: () -> Void?
var loadReturn: Int
var isFullReturn: Bool
var downloadThrowBlock: () -> Void?
var downloadReturn: [String]

var goCount = 0
var load = [Load]()
var isFullCount = 0
var downloadCount = 0

init(color: Int, loadReturn: Int, isFullReturn: Bool, downloadReturn: [String]) {
self.color = color
self.loadReturn = loadReturn
self.isFullReturn = isFullReturn
self.downloadReturn = downloadReturn
}

func go() {
goCount += 1
}

func load(with stuff: Int, label: String) throws -> Int {
let item = Load(stuff: stuff, label: label)
load.append(item)
try loadThrowBlock?()
return loadReturn
}

func isFull() -> Bool {
isFullCount += 1
return isFullReturn
}

func download() async throws -> [String] {
downloadCount += 1
try downloadThrowBlock?()
return downloadReturn
}
}

stub:

final class CarStub: Car {
var name: String?
var color: Int
var loadThrowBlock: () -> Void?
var loadReturn: Int
var isFullReturn: Bool
var downloadThrowBlock: () -> Void?
var downloadReturn: [String]

init(color: Int, loadReturn: Int, isFullReturn: Bool, downloadReturn: [String]) {
self.color = color
self.loadReturn = loadReturn
self.isFullReturn = isFullReturn
self.downloadReturn = downloadReturn
}

func go() {
}

func load(with stuff: Int, label: String) throws -> Int {
try loadThrowBlock?()
return loadReturn
}

func isFull() -> Bool {
return isFullReturn
}

func download() async throws -> [String] {
try downloadThrowBlock?()
return downloadReturn
}
}

dummy:

final class CarDummy: Car {
var name: String? {
get {
fatalError()
}
}
var color: Int {
get {
fatalError()
}
set {
fatalError()
}
}

func go() {
fatalError()
}

func load(with stuff: Int, label: String) throws -> Int {
fatalError()
}

func isFull() -> Bool {
fatalError()
}

func download() async throws -> [String] {
fatalError()
}
}

usage in tests:

let carSpy = CarSpy()

...

let a1 = carSpy.goCount == 1
let a2 = carSpy.load.count == 1
let a3 = carSpy.load[0].stuff == 2
let a4 = carSpy.load[0].label == "name"

https://github.com/raptorxcz/Rubicon

Xcode extension

Xcode extension can generate test doubles for all or just selected protocols in the current file. The resulting test double can be written to the source file or pasteboard.
더보기 ↓

스크린샷

#1. Rubicon (macOS) 게시자: Avenga Czechia s.r.o
#2. Rubicon (macOS) 게시자: Avenga Czechia s.r.o
#3. Rubicon (macOS) 게시자: Avenga Czechia s.r.o
#4. Rubicon (macOS) 게시자: Avenga Czechia s.r.o
#5. Rubicon (macOS) 게시자: Avenga Czechia s.r.o

새로운 기능

  • 버전: 3.0.0
  • 업데이트:
  • Migrated to Swift Syntax, which fixed many bungs.

가격

  • 오늘: 무료
  • 최소: 무료
  • 최대: 무료
가격 추적

개발자

포인트

순위

찾을 수 없음 ☹️

목록

리뷰

첫 번째 리뷰를 남겨보세요 🌟

추가 정보

RubiconRubicon 단축 URL: 복사됨!

당신은 또한 같은 수 있습니다

    • TestFlight
    • macOS 앱: 개발자 도구  게시자: Apple
    • 무료   
    • 목록: 9 + 1   순위: 0   리뷰: 0
    • 포인트: 7 + 772,169 (4.7)   버전: 3.9.0   TestFlight makes it easy to test beta versions of apps and App Clips to provide valuable feedback to developers before they release their apps on the App Store. Developers can invite ...
        ⥯ 
    • WebSSH - SysAdmin Tools
    • macOS 앱: 개발자 도구  게시자: MENGUS ARNAUD
    • 무료   
    • 목록: 3 + 2   순위: 0   리뷰: 0
    • 포인트: 10 + 2,233 (4.7)   버전: 29.9   WebSSH is an awesome SSH, SFTP, TELNET and Port Forwarding client ٩(^ ^)۶ Wherever you are it will be useful to you everywhere, all the time! SSH Functionalities ๏ Authentication using
        ⥯ 
    • Bluetooth Inspector
    • macOS 앱: 개발자 도구  게시자: George Garside
    • 무료   
    • 목록: 2 + 0   순위: 0   리뷰: 0
    • 포인트: 2 + 1,368 (4.6)   버전: 1.7.2   Discover nearby Bluetooth peripherals and inspect their services for information and characteristics. View information and signal strength for all peripherals and devices, updating in ...
        ⥯ 
    • HTTPBot: API & HTTP Client
    • macOS 앱: 개발자 도구  게시자: Arvindh Sukumar
    • * 무료   
    • 목록: 3 + 2   순위: 0   리뷰: 0
    • 포인트: 7 + 1,300 (4.5)   버전: 2025.3.2   HTTPBot is a powerful API client and debugger that lets you send HTTP/HTTPs requests, connect to WebSockets, inspect JSON & HTML responses, and debug APIs on the go. With HTTPBot, you ...
        ⥯ 
    • Pastel
    • macOS 앱: 개발자 도구  게시자: Steven Troughton-Smith
    • 무료   
    • 목록: 3 + 1   순위: 0   리뷰: 0
    • 포인트: 2 + 1,295 (4.7)   버전: 2.3.7   Capture and collect color palettes with Pastel! Pastel is an app for amateur developers & artists (like us!) that lets you build up a library of color palettes to use in your projects.
        ⥯ 
    • SSH Files – Secure ShellFish
    • macOS 앱: 개발자 도구  게시자: Anders Borum
    • 무료   
    • 목록: 4 + 2   순위: 0   리뷰: 0
    • 포인트: 10 + 1,071 (4.8)   버전: 2025.22   Lightning fast SSH terminal with remote file access. No other app fuses your SSH servers and iOS devices as well as Secure ShellFish. Tap Get and see for yourself. Terminal supports ...
        ⥯ 
    • ServerCat - SSH Terminal
    • macOS 앱: 개발자 도구  게시자: Early Moon, LLC
    • 무료   
    • 목록: 3 + 0   순위: 0   리뷰: 0
    • 포인트: 3 + 930 (4.6)   버전: 1.20   ServerCat is a Linux monitor and Docker Management & SSH Terminal app. ServerCat makes it easy to monitor your server status on your mobile. It shows detail running status of your ...
        ⥯ 
    • HTML Editor
    • macOS 앱: 개발자 도구  게시자: Intrepid
    • 무료   
    • 목록: 0 + 0   순위: 0   리뷰: 0
    • 포인트: 5 + 549 (4.2)   버전: 2.9   HTML Editor is a lightweight HTML editor complete with syntax highlighting, focused code completion suggestions and a live preview panel. With HTML Editor, you can open any existing ...
        ⥯ 
    • Termux - iSH, SFTP, SSH Client
    • macOS 앱: 개발자 도구  게시자: Moon Technolabs Pvt Ltd
    • 무료   
    • 목록: 1 + 2   순위: 0   리뷰: 0
    • 포인트: 5 + 386 (3.5)   버전: 4.8.9   Here is one of the most intelligent & advanced SSH Client apps to manage and connect remote servers for your iOS and Mac devices About SSH Client: SSH Client is an on-the-go SSH-Telnet
        ⥯ 
    • DetailsPro
    • macOS 앱: 개발자 도구  게시자: Fun Focus Software LLC
    • 무료   
    • 목록: 0 + 2   순위: 0   리뷰: 0
    • 포인트: 3 + 384 (4.8)   버전: 5.8.0   App Store featured in Great on iPad and Must-Have Apps DetailsPro is the visual design tool that brings your app ideas to life no coding required. - Mock up a new app idea in minutes -
        ⥯ 
    • Interactful
    • macOS 앱: 개발자 도구  게시자: Harley Thomas
    • 무료   
    • 목록: 1 + 2   순위: 0   리뷰: 0
    • 포인트: 1 + 350 (4.9)   버전: 5.1.1   An interactive guide for SwiftUI to help designers and developers build better apps. Code snippets and interactive examples for components like Sliders, Toggles, Lists, and Grids ...
        ⥯ 
    • Resolutioner
    • macOS 앱: 개발자 도구  게시자: Sun Apps, LLC
    • 무료   
    • 목록: 0 + 0   순위: 0   리뷰: 0
    • 포인트: 1 + 349 (4.5)   버전: 1.0   Resolutioner is a simple utility app for calculating resolutions, aspect ratios, and saving resolutions for future reference. The resolution calculator helps you to calculate a ...
        ⥯ 

당신은 또한 같은 수 있습니다

AppAgg에서 사용할 수 있는 검색 연산자
AppAgg에 추가
AppAgg
시작하기 – 무료예요
가입
로그인