- 
                Notifications
    You must be signed in to change notification settings 
- Fork 238
Fabino-Test #342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            aminchegeni
  wants to merge
  2
  commits into
  LF-Decentralized-Trust-labs:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
aminchegeni:main
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
      
        
          +52
        
        
          −0
        
        
          
        
      
    
  
  
     Open
                    Fabino-Test #342
Changes from all commits
      Commits
    
    
            Show all changes
          
          
            2 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      
    File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| --- | ||
| layout: default | ||
| title: Fabino-Test | ||
| parent: LFDT Labs | ||
| grand_parent: Active Labs | ||
| --- | ||
|  | ||
| # Lab Name | ||
|  | ||
| Fabino Junit5 Test Extension | ||
|  | ||
| # Short Description | ||
|  | ||
| **Fabino-Test** is a lightweight Java testing library for Hyperledger Fabric that simplifies unit and integration | ||
| testing of | ||
| chaincode. It leverages **JUnit 5 extensions**, **Testcontainers**, and the **Microfab Docker image** to automatically | ||
| bootstrap a | ||
| Fabric network, install and commit chaincodes, and inject a ready-to-use **Fabric Gateway SDK** instance into test | ||
| classes. | ||
| Fabino-Test enables developers to focus on writing real test scenarios without manually managing the underlying network, | ||
| making Fabric testing fast, reproducible, and developer-friendly. | ||
|  | ||
| # Scope of Lab | ||
|  | ||
| Fabino-Test fits within the **Hyperledger Fabric developer tooling and testing** domain. Its scope includes: | ||
|  | ||
| - **Automated Fabric Network Bootstrapping in Java:** Start a complete Fabric network using Microfab and Testcontainers, | ||
| fully controlled from Java, based on user-provided configuration. | ||
| - **Chaincode Lifecycle Management:** Handle packaging, installation, approval, and commit of chaincodes automatically | ||
| within Java test environments. | ||
| - **Integration with JUnit 5 (Java):** Provide seamless extension mechanisms to manage the network lifecycle in unit and | ||
| integration tests written in Java. | ||
| - **Dependency Injection:** Inject ready-to-use Java Fabric Gateway SDK instances (and potentially Network, Contract | ||
| objects) into test classes. | ||
| - **Test Infrastructure Abstraction:** Enable Java developers to write reliable chaincode tests without manually | ||
| managing peers, channels, or TLS certificates. | ||
|  | ||
| Fabino-Test aims to reduce the overhead of setting up Fabric test environments in Java, increase test reproducibility, | ||
| and provide a **flexible platform** for future expansion, such as supporting additional chaincode deployment models or | ||
| advanced test scenarios. | ||
|  | ||
| # Initial Committers | ||
|  | ||
| - https://github.com/aminchegeni | ||
|  | ||
| # Sponsor | ||
|  | ||
| - https://github.com/petermetz - Role (Member of the Technical Advisory Council (**TAC**) of the **LFDT**) | ||
|  | ||
| # Pre-existing repository | ||
|  | ||
| - https://github.com/aminchegeni/fabino-test | ||
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.